appmake 0.0.17 → 0.0.18

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 +5 -5
  2. metadata +1 -1
data/lib/appmake.rb CHANGED
@@ -31,8 +31,8 @@ class Appmake
31
31
  FileUtils.mkdir "js/lib"
32
32
  end
33
33
 
34
- puts "=> touch /js/app.tjs"
35
- FileUtils.touch "js/app.tjs"
34
+ puts "=> touch /js/app_tpl.js"
35
+ FileUtils.touch "js/app_tpl.js"
36
36
 
37
37
  puts "=> create /js/compile_templates.js"
38
38
  f = File.new("js/compile_templates.js", "w+")
@@ -61,7 +61,7 @@ class Appmake
61
61
  system("bundle exec sass css/app.scss css/app.css")
62
62
 
63
63
  puts "=> rebuilding JS"
64
- system("webmake js/app.tjs js/app.js")
64
+ system("webmake js/app_tpl.js js/app.js")
65
65
  end
66
66
 
67
67
  def self.watch
@@ -85,10 +85,10 @@ class Appmake
85
85
 
86
86
  js_callback = Proc.new do |modified, added, removed|
87
87
  puts "=> rebuilding JS"
88
- system("webmake js/app.tjs js/app.js")
88
+ system("webmake js/app_tpl.js js/app.js")
89
89
  end
90
90
 
91
- js_listener = Listen.to "js", :filter => /\.tjs$/
91
+ js_listener = Listen.to "js", :filter => /\.js$/
92
92
  js_listener.change(&js_callback)
93
93
  js_listener.start
94
94
  end
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.17
4
+ version: 0.0.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: