aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index a5e0ebd..5adb525 100644
--- a/Rakefile
+++ b/Rakefile
@@ -7,9 +7,8 @@ require 'rake/clean'
CLOBBER.include 'build'
-task default: 'source/main.elna'
-task default: 'build/gcc/elna' do |t|
- sources, compiler = t.prerequisites.partition { |f| f.end_with? '.elna' }
+task default: ['source/main.elna', 'build/gcc/elna'] do |t|
+ sources, compiler = t.prerequisites.partition { |f| f.end_with? '.elna' }
- sh *compiler, '--parse', *sources
+ sh(*compiler, '--parse', *sources)
end