Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Grunt Support Added, Fixed Bower support on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Aug 26, 2013
1 parent 3b4cfbb commit b1d0dba
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
24 changes: 14 additions & 10 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,22 @@ module.exports = function(grunt) {
tasks: ['compass'],
options: {
livereload: true,
},
force: true
}
}
},
jshint: {
all: ['gruntfile.js']
},
compass: { // Task
dist: { // Target
options: { // Target options
compass: { //Task
dist: { //Target
options: { //Target options
sassDir: 'public/sass',
cssDir: 'public/css',
environment: 'production'
}
},
dev: { // Another target
dev: { //Another target
options: {
sassDir: 'public/sass',
cssDir: 'public/css'
Expand Down Expand Up @@ -73,13 +74,16 @@ module.exports = function(grunt) {
}
});

// Load NPM tasks
// grunt.loadNpmTasks('grunt-contrib-compass');
//Load NPM tasks
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-nodemon');
grunt.loadNpmTasks('grunt-concurrent');

// Default task(s).
grunt.registerTask('default', ['jshint', 'concurrent:target']);
};
//Making grunt default to force inorder not to break the project.
grunt.option('force', true);

//Default task(s).
grunt.registerTask('default', ['jshint', 'compass', 'concurrent:target']);
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"underscore": "latest",
"async": "latest",
"view-helpers": "latest",
"mean-logger": "latest"
"mean-logger": "latest",
"bower": "latest"
},
"devDependencies": {
"supertest": "latest",
"should": "latest",
"mocha": "latest",
"bower": "latest",
"grunt": "~0.4.1",
"grunt-contrib-compass": "~0.3.0",
"grunt-contrib-watch": "~0.4.4",
Expand Down
3 changes: 1 addition & 2 deletions public/sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ footer {
}
footer p{
padding: 5px 0 12px 10px;
}

}

0 comments on commit b1d0dba

Please sign in to comment.