Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
added less files to generator
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorwood committed Feb 14, 2014
1 parent d59c67f commit 3686b88
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,6 @@ grunt
## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

### CCS updates ###
why css background imgs over img tags
6 changes: 3 additions & 3 deletions app/templates/_gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ module.exports = function(grunt) {
},
base:{
files: {
'<%= pkg.buildPath %>css/default.css': 'css/default.less'
'<%= pkg.buildPath %>css/default.css': 'css/**/*.less'
}
}
},
copy: {
main: {
files: [
{src: 'index.html', dest: '<%= pkg.buildPath %>'},
{src: 'css/img/**/*', dest: '<%= pkg.buildPath %>'},
{src: ['css/**/*', '!css/**/*.less'], dest: '<%= pkg.buildPath %>'},
{src: 'locales/**/*', dest: '<%= pkg.buildPath %>'}
]
},
Expand Down Expand Up @@ -108,7 +108,7 @@ module.exports = function(grunt) {
options: {
livereload: {port: LIVERELOAD_PORT}
},
files: ['<%= concat.core.src %>', '*.html', 'app/**/*.html'],
files: ['<%= concat.core.src %>', '*.html', 'app/**/*.html', 'css/**/*'],
tasks: ['base']
}
},
Expand Down
1 change: 1 addition & 0 deletions entity/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ EntityGenerator.prototype.askFor = function askFor() {
{name:'Service', dir:'app/services/', entityName:'<name>Service', saveAs:'<entityName>.js', file:'service.js'},
{name:'Singleton', dir:'app/', entityName:'<name>', saveAs:'<entityName>.js', file:'singleton.js'},
{name:'ViewModel', dir:'app/viewModels/', entityName:'<name>ViewModel', saveAs:'<entityName>.js', file:'view-model.js'},
{name:'LESS', dir:'css/', entityName:'<name>', saveAs:'<entityName>.less', file:'default.less'},
{name:'View', dir:'app/views/', entityName:'<name>View', saveAs:'<entityName>.html', file:'view.html'},
{name:'All'}
];
Expand Down
1 change: 1 addition & 0 deletions entity/templates/default.less
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* css here */
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-chaos",
"version": "0.4.0",
"version": "0.5.0",
"description": "A generator using Yeoman for chaos",
"keywords": [
"yeoman-generator"
Expand Down

0 comments on commit 3686b88

Please sign in to comment.