appmake 0.1.30 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/appmake.rb +2 -2
- data/lib/appmake/version.rb +1 -1
- data/templates/public/index.html.tt +4 -4
- metadata +1 -1
data/lib/appmake.rb
CHANGED
@@ -137,11 +137,11 @@ module Appmake
|
|
137
137
|
elsif name == "underscore"
|
138
138
|
empty_directory "public"
|
139
139
|
empty_directory "public/js"
|
140
|
-
run "curl http://underscorejs.org/underscore-min.js -o public/underscore.min.js"
|
140
|
+
run "curl http://underscorejs.org/underscore-min.js -o public/js/underscore.min.js"
|
141
141
|
elsif name == "backbone"
|
142
142
|
empty_directory "public"
|
143
143
|
empty_directory "public/js"
|
144
|
-
run "curl -silent http://backbonejs.org/backbone-min.js -o public/backbone.min.js"
|
144
|
+
run "curl -silent http://backbonejs.org/backbone-min.js -o public/js/backbone.min.js"
|
145
145
|
elsif name == "bootstrap"
|
146
146
|
empty_directory "public"
|
147
147
|
empty_directory "public/css"
|
data/lib/appmake/version.rb
CHANGED
@@ -7,10 +7,10 @@
|
|
7
7
|
<link rel="stylesheet" type="text/css" href="css/App.css">
|
8
8
|
</head>
|
9
9
|
<body>
|
10
|
-
<% if options.jquery %><script type="text/javascript" src="js/jquery.min.js"></script><% end %>
|
11
|
-
<% if options.underscore %><script type="text/javascript" src="js/underscore.min.js"></script><% end %>
|
12
|
-
<% if options.backbone %><script type="text/javascript" src="js/backbone.min.js"></script><% end %>
|
13
|
-
<% if options.bootstrap %><script type="text/javascript" src="js/bootstrap.min.js"></script><% end %>
|
10
|
+
<% if options.jquery? %><script type="text/javascript" src="js/jquery.min.js"></script><% end %>
|
11
|
+
<% if options.underscore? %><script type="text/javascript" src="js/underscore.min.js"></script><% end %>
|
12
|
+
<% if options.backbone? %><script type="text/javascript" src="js/backbone.min.js"></script><% end %>
|
13
|
+
<% if options.bootstrap? %><script type="text/javascript" src="js/bootstrap.min.js"></script><% end %>
|
14
14
|
<script type="text/javascript" src="js/App.js"></script>
|
15
15
|
</body>
|
16
16
|
</html>
|