Permalink
Browse files

Reorganize rakefile

  • Loading branch information...
1 parent f422722 commit 4bbd2ec99fff766836b129e2478d34dc11bd0f51 @guns committed Sep 13, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 Rakefile
View
@@ -5,7 +5,6 @@
# http://www.opensource.org/licenses/mit-license.php
task :default => :build
-task :build => [:cmake, :make]
task :env do
ENV['CFLAGS' ] ||= ''
@@ -32,13 +31,16 @@ task :cmake => :env do
end
end
-desc 'Build weechat'
+desc 'Invoke make'
task :make => :env do
Dir.chdir 'build' do
sh *%W[make --jobs=#{ENV['JOBS'] || 2}]
end
end
+desc 'Build weechat'
+task :build => [:cmake, :make]
+
desc 'Install weechat'
task :install => :env do
Dir.chdir 'build' do

0 comments on commit 4bbd2ec

Please sign in to comment.