Add "all" task
This commit is contained in:
parent
7f5bf7d277
commit
76adfc397e
1 changed files with 7 additions and 0 deletions
7
Rakefile
7
Rakefile
|
@ -21,6 +21,13 @@ class Pathname
|
||||||
alias to_str to_s
|
alias to_str to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc "Run all tasks"
|
||||||
|
task :all => ["crowdin:upload", :wait_trans_updated, :deploy, :deploy_trans]
|
||||||
|
|
||||||
|
task :wait_trans_updated do
|
||||||
|
sleep 30
|
||||||
|
end
|
||||||
|
|
||||||
desc "Build site"
|
desc "Build site"
|
||||||
task :build_site => [:build_base, "crowdin:download"] do
|
task :build_site => [:build_base, "crowdin:download"] do
|
||||||
LOCALE_DIR.glob("**/*.html").each do |html|
|
LOCALE_DIR.glob("**/*.html").each do |html|
|
||||||
|
|
Loading…
Reference in a new issue