appmake 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/appmake.rb +10 -1
- metadata +1 -1
data/lib/appmake.rb
CHANGED
|
@@ -40,7 +40,7 @@ class Appmake
|
|
|
40
40
|
f.close
|
|
41
41
|
|
|
42
42
|
unless Dir.exists? "tpl"
|
|
43
|
-
puts "mkdir /tpl"
|
|
43
|
+
puts "=> mkdir /tpl"
|
|
44
44
|
FileUtils.mkdir "tpl"
|
|
45
45
|
end
|
|
46
46
|
|
|
@@ -48,6 +48,15 @@ class Appmake
|
|
|
48
48
|
f = File.new("index.html", "w+")
|
|
49
49
|
f.puts(INDEX_HTML)
|
|
50
50
|
f.close
|
|
51
|
+
|
|
52
|
+
puts "=> rebuilding TPL"
|
|
53
|
+
system("node js/compile_templates.js")
|
|
54
|
+
|
|
55
|
+
puts "=> rebuilding CSS"
|
|
56
|
+
system("bundle exec sass css/app.scss css/app.css")
|
|
57
|
+
|
|
58
|
+
puts "=> rebuilding JS"
|
|
59
|
+
system("webmake js/app_tpl.js js/app.js")
|
|
51
60
|
end
|
|
52
61
|
|
|
53
62
|
def self.watch
|