mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-12-25 00:48:49 -05:00
Move generate + deploy to separate task
This commit is contained in:
parent
960a57c256
commit
04973e0948
7
Rakefile
7
Rakefile
@ -200,7 +200,12 @@ end
|
|||||||
|
|
||||||
desc "Default deploy task"
|
desc "Default deploy task"
|
||||||
task :deploy do
|
task :deploy do
|
||||||
[:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
|
[:copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
|
||||||
|
end
|
||||||
|
|
||||||
|
desc "Generate website and deploy"
|
||||||
|
task :gen_deploy do
|
||||||
|
[:generate, :deploy].each { |t| Rake::Task[t].execute }
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "copy dot files for deployment"
|
desc "copy dot files for deployment"
|
||||||
|
Loading…
Reference in New Issue
Block a user