Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit b403966

Browse files
author
Barrie Hadfield
committed
with puts
1 parent e153ff2 commit b403966

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,27 @@ require 'uglifier'
1010
desc 'Build Hyperloop and Opal Compiler'
1111
task :build do
1212
Opal.append_path 'hyperloop'
13+
puts "About to build hyperloop.js"
1314
File.binwrite 'hyperloop.js', Opal::Builder.build('application').to_s
15+
puts "done"
16+
17+
puts "About to build opal-compiler.js"
1418
File.binwrite 'opal-compiler.js', Opal::Builder.build('opal-compiler').to_s
19+
puts "done"
1520
end
1621

1722
desc 'Minify using uglifier gem'
1823
task :minify do
24+
puts "About to build hyperloop.min.js"
1925
js_file = "hyperloop.js"
2026
js_min_file = "hyperloop.min.js"
2127
File.open(js_min_file, "w").write(Uglifier.new.compile(File.read(js_file)))
28+
puts "done"
2229

30+
puts "About to build opal-compiler.min.js"
2331
js_file = "opal-compiler.js"
2432
js_min_file = "opal-compiler.min.js"
2533
File.open(js_min_file, "w").write(Uglifier.new.compile(File.read(js_file)))
34+
puts "done"
2635
end
2736
task default: [:build, :minify]

0 commit comments

Comments
 (0)