diff options
author | Ralf Mueller | 2016-06-28 15:54:53 +0200 |
---|---|---|
committer | Ralf Mueller | 2016-06-28 15:54:53 +0200 |
commit | f6926451d4d6790832f14cd6511a18b3b0b872b8 (patch) | |
tree | 2c97bd699de2449a46755570b9534c14884f1ad9 /Rakefile | |
parent | ebe0ccdba9a5cdd4e7621a9dc9da2f9d703bbf7a (diff) | |
download | aur-f6926451d4d6790832f14cd6511a18b3b0b872b8.tar.gz |
update building logic
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -1,9 +1,5 @@ -file('.SRCINFO') do |t| - sh "makepkg --printsrcinfo > #{t.name}" -end +task :info do; sh "makepkg --printsrcinfo > .SRCINFO"; end +task :build do; sh "makepkg"; end -task :build do |t| - sh "makepkg" -end - -task :default => [:build,'.SRCINFO'] +desc "build package in info file" +task :default => [:build,:info] |