appmake 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/appmake/listeners/coffee.rb +3 -3
- data/lib/appmake/version.rb +1 -1
- data/lib/appmake.rb +0 -2
- metadata +1 -1
@@ -18,14 +18,14 @@ module Appmake
|
|
18
18
|
def self.compile
|
19
19
|
Basic.new.say_status :compile, "CoffeScript"
|
20
20
|
|
21
|
-
Dir.glob "coffee
|
21
|
+
Dir.glob "js/*.coffee" do |f|
|
22
22
|
name = f.split("/").last
|
23
23
|
new_name = name.gsub "coffee", "js"
|
24
24
|
|
25
|
-
system "./node_modules/.bin/coffee -c
|
25
|
+
system "./node_modules/.bin/coffee -c js/#{name} js/#{new_name}"
|
26
26
|
|
27
27
|
if name[0] == name[0].upcase
|
28
|
-
system "./node_modules/.bin/webmake
|
28
|
+
system "./node_modules/.bin/webmake js/#{name} public/js/#{name}"
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
data/lib/appmake/version.rb
CHANGED
data/lib/appmake.rb
CHANGED