Added sprites build to build:prod task

This commit is contained in:
Blade Barringer
2015-02-09 23:07:28 -06:00
parent 6548db8095
commit 557ccc7ec0
16 changed files with 25024 additions and 7151 deletions

View File

@@ -89,7 +89,7 @@ module.exports = function(grunt) {
clean: {
build: ['website/build'],
sprites: ['common/dist/sprites']
sprite: ['common/dist/sprites']
},
sprite: sprite,
@@ -212,7 +212,7 @@ module.exports = function(grunt) {
});
// Register tasks.
grunt.registerTask('build:prod', ['loadManifestFiles', 'clean:build', 'browserify', 'uglify', 'stylus', 'cssmin', 'copy:build', 'hashres']);
grunt.registerTask('build:prod', ['loadManifestFiles', 'clean:build', 'clean:sprite', 'sprite', 'browserify', 'uglify', 'stylus', 'cssmin', 'copy:build', 'hashres']);
grunt.registerTask('build:dev', ['browserify', 'stylus']);
grunt.registerTask('run:dev', [ 'build:dev', 'concurrent' ]);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 222 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 76 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 184 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 470 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 KiB

After

Width:  |  Height:  |  Size: 320 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 KiB

After

Width:  |  Height:  |  Size: 279 KiB

View File

@@ -71,7 +71,7 @@
"scripts": {
"test": "./test/run_tests.sh",
"start": "grunt run:dev",
"postinstall": "./node_modules/bower/bin/bower --config.interactive=false install -f",
"postinstall": "grunt build:prod; ./node_modules/bower/bin/bower --config.interactive=false install -f",
"coverage": "COVERAGE=true mocha --require register-handlers.js --reporter html-cov > coverage.html; open coverage.html"
},
"devDependencies": {