appmake 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/*" do |f|
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 coffee/#{name} coffee/#{new_name}"
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 coffee/#{name} public/js/#{name}"
28
+ system "./node_modules/.bin/webmake js/#{name} public/js/#{name}"
29
29
  end
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Appmake
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
data/lib/appmake.rb CHANGED
@@ -23,8 +23,6 @@ module Appmake
23
23
  template "templates/css/App.scss.tt", "css/App.scss"
24
24
  template "templates/css/body.scss.tt", "css/body.scss"
25
25
 
26
- empty_directory "coffee"
27
-
28
26
  empty_directory "js"
29
27
  template "templates/js/App.js.tt", "js/App.js"
30
28
 
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.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: