appmake 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/appmake.rb +10 -1
  2. 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appmake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: