Added a rake task to do normal stuff before a github push.
This commit is contained in:
parent
606aba9df2
commit
42f1cd8855
12
Rakefile
12
Rakefile
@ -97,8 +97,16 @@ task :examples do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
task :git_clean do
|
namespace :git do
|
||||||
|
desc "Perform normal operations required for pushing to github."
|
||||||
|
task :push => [:manifest, :gem] do
|
||||||
|
sh "git", "add", "Manifest", "compass.gemspec"
|
||||||
|
sh "git", "commit", "-m", "Updated Manifest and gemspec."
|
||||||
|
sh "git", "push", "origin", "master"
|
||||||
|
end
|
||||||
|
task :clean do
|
||||||
sh "git", "clean", "-fdx"
|
sh "git", "clean", "-fdx"
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
task :manifest => :git_clean
|
task :manifest => :"git:clean"
|
Loading…
Reference in New Issue
Block a user