appmake 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/appmake.rb +3 -3
- metadata +1 -1
data/lib/appmake.rb
CHANGED
@@ -26,8 +26,8 @@ class Appmake
|
|
26
26
|
FileUtils.mkdir "js"
|
27
27
|
end
|
28
28
|
|
29
|
-
puts "=> touch /js/
|
30
|
-
FileUtils.touch "js/
|
29
|
+
puts "=> touch /js/app.tjs"
|
30
|
+
FileUtils.touch "js/app.tjs"
|
31
31
|
|
32
32
|
puts "=> create /js/compile_templates.js"
|
33
33
|
f = File.new("js/compile_templates.js", "w+")
|
@@ -80,7 +80,7 @@ class Appmake
|
|
80
80
|
|
81
81
|
js_callback = Proc.new do |modified, added, removed|
|
82
82
|
puts "=> rebuilding JS"
|
83
|
-
system("webmake js/
|
83
|
+
system("webmake js/app.tjs js/app.js")
|
84
84
|
end
|
85
85
|
|
86
86
|
js_listener = Listen.to "js", :filter => /\.js$/
|