appmake 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/appmake.rb +3 -3
- metadata +1 -1
data/lib/appmake.rb
CHANGED
@@ -19,12 +19,12 @@ class Appmake
|
|
19
19
|
end
|
20
20
|
|
21
21
|
puts "=> create /css/app.scss"
|
22
|
-
f = File.new("
|
22
|
+
f = File.new("css/app.scss", "w+")
|
23
23
|
f.puts(APP_SCSS)
|
24
24
|
f.close
|
25
25
|
|
26
26
|
puts "=> create /css/body.scss"
|
27
|
-
f = File.new("
|
27
|
+
f = File.new("css/body.scss", "w+")
|
28
28
|
f.puts(BODY_SCSS)
|
29
29
|
f.close
|
30
30
|
|
@@ -39,7 +39,7 @@ class Appmake
|
|
39
39
|
end
|
40
40
|
|
41
41
|
puts "=> create /js/app_tpl.js"
|
42
|
-
f = File.new("js/app_tpl.js")
|
42
|
+
f = File.new("js/app_tpl.js", "w+")
|
43
43
|
f.puts(APP_TPL_JS)
|
44
44
|
f.close
|
45
45
|
FileUtils.touch "js/app_tpl.js"
|