move populate_template_cache.js into dist and add dist to .gitignore

This commit is contained in:
Sam 2016-04-23 18:07:34 +03:00
parent 6c7cf0601f
commit 5335703f4b
3 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View file

@ -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
View file

@ -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'
],

View file

@ -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'
}
}
});