appmake 0.0.36 → 0.0.37

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.
@@ -17,9 +17,7 @@ module Appmake
17
17
  end
18
18
 
19
19
  def self.compile
20
- puts "=> rebuilding CSS"
21
- sh = Basic.new
22
- sh.say_status :compile, "CSS"
20
+ Basic.new.say_status :compile, "CSS"
23
21
  system("bundle exec sass css/app.scss public/app.css")
24
22
  end
25
23
  end
@@ -3,6 +3,8 @@ require "listen"
3
3
  module Appmake
4
4
  module Listeners
5
5
  class Js
6
+ include Thor::Shell
7
+
6
8
  def self.listen(block = true)
7
9
  callback = Proc.new do |modified, added, removed|
8
10
  self.compile()
@@ -14,7 +16,7 @@ module Appmake
14
16
  end
15
17
 
16
18
  def self.compile
17
- puts "=> rebuilding JS"
19
+ Basic.new.say_status :compile, "JS"
18
20
  system("webmake js/app.js public/app.js")
19
21
  end
20
22
  end
@@ -3,6 +3,8 @@ require "listen"
3
3
  module Appmake
4
4
  module Listeners
5
5
  class Tpl
6
+ include Thor::Shell
7
+
6
8
  def self.listen(block = true)
7
9
  callback = Proc.new do |modified, added, removed|
8
10
  self.compile()
@@ -14,8 +16,8 @@ module Appmake
14
16
  end
15
17
 
16
18
  def self.compile
17
- puts "=> rebuilding TPL"
18
- system("node bin/compile_templates.js")
19
+ Basic.new.say_status :compile, "CSS"
20
+ system("node bin/compile_templates.js &> /dev/null")
19
21
  end
20
22
  end
21
23
  end
@@ -1,3 +1,3 @@
1
1
  module Appmake
2
- VERSION = "0.0.36"
2
+ VERSION = "0.0.37"
3
3
  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.36
4
+ version: 0.0.37
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: