summarylogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorRalf Mueller2016-06-28 15:54:53 +0200
committerRalf Mueller2016-06-28 15:54:53 +0200
commitf6926451d4d6790832f14cd6511a18b3b0b872b8 (patch)
tree2c97bd699de2449a46755570b9534c14884f1ad9 /Rakefile
parentebe0ccdba9a5cdd4e7621a9dc9da2f9d703bbf7a (diff)
downloadaur-f6926451d4d6790832f14cd6511a18b3b0b872b8.tar.gz
update building logic
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/Rakefile b/Rakefile
index 1155fcacdc9d..f6d509ad2148 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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]