move populate_template_cache.js into dist and add dist to .gitignore
This commit is contained in:
parent
6c7cf0601f
commit
5335703f4b
3 changed files with 9 additions and 8 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -27,7 +27,8 @@ app/tests/coverage/
|
|||
# ======================
|
||||
config/sslcerts/*.pem
|
||||
access.log
|
||||
#public/dist/
|
||||
public/dist/
|
||||
public/dist/populate_template_cache.js
|
||||
uploads/
|
||||
# API keys file
|
||||
api_keys.js
|
||||
|
|
2
config/env/all.js
vendored
2
config/env/all.js
vendored
|
@ -70,7 +70,7 @@ module.exports = {
|
|||
js: [
|
||||
'public/config.js',
|
||||
'public/application.js',
|
||||
'public/populate_template_cache.js',
|
||||
'public/dist/populate_template_cache.js',
|
||||
'public/modules/*/*.js',
|
||||
'public/modules/*/*[!tests]*/*.js'
|
||||
],
|
||||
|
|
|
@ -247,7 +247,7 @@ module.exports = function(grunt) {
|
|||
},
|
||||
main: {
|
||||
src: ['public/modules/**/views/**.html', 'public/modules/**/views/**/*.html'],
|
||||
dest: 'public/populate_template_cache.js'
|
||||
dest: 'public/dist/populate_template_cache.js'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue