Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Compile all html files in views and its subfolders #111

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "git://github.com/yeoman/generator-angular.git"
},
"scripts": {
"test": "mocha test/test-*.js"
"test": "mocha test"
},
"dependencies": {
"yeoman-generator": "~0.10.2"
Expand Down
7 changes: 4 additions & 3 deletions templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = function (grunt) {
'<%%= yeoman.app %>/{,*/}*.html',
'{.tmp,<%%= yeoman.app %>}/styles/{,*/}*.css',
'{.tmp,<%%= yeoman.app %>}/scripts/{,*/}*.js',
'<%%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg}'
'<%%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be a separate commit?

],
tasks: ['livereload']
}
Expand Down Expand Up @@ -185,7 +185,7 @@ module.exports = function (grunt) {
files: [{
expand: true,
cwd: '<%%= yeoman.app %>',
src: ['*.html', 'views/*.html'],
src: ['*.html', 'views/{,*/}*.html'],
dest: '<%%= yeoman.dist %>'
}]
}
Expand Down Expand Up @@ -224,7 +224,8 @@ module.exports = function (grunt) {
src: [
'*.{ico,txt}',
'.htaccess',
'components/**/*'
'components/**/*',
'images/{,*/}*.{gif,webp}'
]
}]
}
Expand Down
2 changes: 1 addition & 1 deletion templates/common/root/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ root = true

# Change these settings to your own preference
indent_style = space
indent_size = 4
indent_size = 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this being changed?


# We recommend you to keep these unchanged
end_of_line = lf
Expand Down