Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #58 from lalop/master
Browse files Browse the repository at this point in the history
move populate_template_cache.js into dist and add dist to .gitignore
  • Loading branch information
whitef0x0 committed Apr 23, 2016
2 parents 6c7cf06 + 5335703 commit 268c982
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -27,12 +27,13 @@ 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
*.env

# Sublime editor
# ==============
.sublime-project
Expand Down
4 changes: 2 additions & 2 deletions config/env/all.js
Expand Up @@ -45,7 +45,7 @@ module.exports = {
/*
* Upload Configuration
*/
//Global upload path
//Global upload path
uploadPath : 'uploads/',
//PDF storage path
pdfUploadPath: 'uploads/pdfs/',
Expand All @@ -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'
],
Expand Down
8 changes: 4 additions & 4 deletions gruntfile.js
Expand Up @@ -2,7 +2,7 @@

module.exports = function(grunt) {
require('jit-grunt')(grunt);

// Unified Watch Object
var watchFiles = {
serverViews: ['app/views/**/*.*'],
Expand Down Expand Up @@ -157,7 +157,7 @@ module.exports = function(grunt) {
src: watchFiles.serverTests,
options: {
reporter: 'spec',
quiet: false,
quiet: false,
require: 'server.js',
ui: 'bdd'
}
Expand Down Expand Up @@ -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'
}
}
});
Expand Down Expand Up @@ -285,7 +285,7 @@ module.exports = function(grunt) {

// Default task(s).
grunt.registerTask('default', ['lint', 'html2js:main', 'env', 'concurrent:default']);

// Debug task.
grunt.registerTask('debug', ['lint', 'html2js:main', 'concurrent:debug']);

Expand Down

0 comments on commit 268c982

Please sign in to comment.