Skip to content

Instantly share code, notes, and snippets.

@callumlocke
Created March 5, 2013 11:42
Show Gist options
  • Save callumlocke/5089736 to your computer and use it in GitHub Desktop.
Save callumlocke/5089736 to your computer and use it in GitHub Desktop.
$ grunt
Running "jshint:all" (jshint) task
>> 2 files lint free.
Running "clean:server" (clean) task
Running "coffee:dist" (coffee) task
File .tmp/scripts/hello.js created.
Running "coffee:test" (coffee) task
Running "compass:dist" (compass) task
Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
Run "compass -h" to get help.
Running "compass:server" (compass) task
Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
Run "compass -h" to get help.
Running "connect:test" (connect) task
Starting connect web server on localhost:9000.
Running "mocha:all" (mocha) task
Testing index.htmlundefined
undefined
undefined
undefined
OK
>> 1 assertions passed (0.04s)
Running "clean:dist" (clean) task
Cleaning ".tmp"...OK
Running "coffee:dist" (coffee) task
File .tmp/scripts/hello.js created.
Running "coffee:test" (coffee) task
Running "compass:dist" (compass) task
Nothing to compile. If you're trying to start a new project, you have left off the directory argument.
Run "compass -h" to get help.
Running "useminPrepare:html" (useminPrepare) task
Going through app/index.html to update the config
Looking for build script HTML comment blocks
Found a block:
<!-- build:js scripts/vendor/modernizr.js -->
<script src="components/modernizr/modernizr.js"></script>
<!-- endbuild -->
Updating config with the following assets:
- app/components/modernizr/modernizr.js
Found a block:
<!-- build:js scripts/main.js -->
<script src="components/jquery/jquery.js"></script>
<script src="scripts/main.js"></script>
<!-- endbuild -->
Updating config with the following assets:
- app/components/jquery/jquery.js
- app/scripts/main.js
Found a block:
<!-- build:js(.tmp) scripts/coffee.js -->
<script src="scripts/hello.js"></script>
<!-- endbuild -->
Updating config with the following assets:
- .tmp/scripts/hello.js
Configuration is now:
cssmin:
{ dist:
{ files:
{ '<%= yeoman.dist %>/styles/main.css':
[ '.tmp/styles/{,*/}*.css',
'app/styles/{,*/}*.css' ] } } }
concat:
{ 'dist/scripts/vendor/modernizr.js': [ 'app/components/modernizr/modernizr.js' ],
'dist/scripts/main.js':
[ 'app/components/jquery/jquery.js',
'app/scripts/main.js' ],
'dist/scripts/coffee.js': [ '.tmp/scripts/hello.js' ] }
uglify:
{ dist: { files: { '<%= yeoman.dist %>/scripts/main.js': [ 'app/scripts/{,*/}*.js' ] } },
'dist/scripts/vendor/modernizr.js': 'dist/scripts/vendor/modernizr.js',
'dist/scripts/main.js': 'dist/scripts/main.js',
'dist/scripts/coffee.js': 'dist/scripts/coffee.js' }
requirejs:
{}
Running "imagemin:dist" (imagemin) task
Running "htmlmin:dist" (htmlmin) task
File dist/404.html created.
Uncompressed size: 4464 bytes.
Compressed size: 732 bytes gzipped (4463 bytes minified).
File dist/index.html created.
Uncompressed size: 2308 bytes.
Compressed size: 510 bytes gzipped (2307 bytes minified).
Running "concat:dist/scripts/vendor/modernizr.js" (concat) task
File "dist/scripts/vendor/modernizr.js" created.
Running "concat:dist/scripts/main.js" (concat) task
File "dist/scripts/main.js" created.
Running "concat:dist/scripts/coffee.js" (concat) task
File "dist/scripts/coffee.js" created.
Running "cssmin:dist" (cssmin) task
File dist/styles/main.css created.
Uncompressed size: 97 bytes.
Compressed size: 47 bytes gzipped (66 bytes minified).
Running "uglify:dist" (uglify) task
File "dist/scripts/main.js" created.
Uncompressed size: 30 bytes.
Compressed size: 36 bytes gzipped (28 bytes minified).
Running "uglify:dist/scripts/vendor/modernizr.js" (uglify) task
File "dist/scripts/vendor/modernizr.js" created.
Uncompressed size: 50144 bytes.
Compressed size: 2526 bytes gzipped (10923 bytes minified).
Running "uglify:dist/scripts/main.js" (uglify) task
File "dist/scripts/main.js" created.
Uncompressed size: 28 bytes.
Compressed size: 36 bytes gzipped (28 bytes minified).
Running "uglify:dist/scripts/coffee.js" (uglify) task
File "dist/scripts/coffee.js" created.
Uncompressed size: 74 bytes.
Compressed size: 45 bytes gzipped (65 bytes minified).
Running "copy:dist" (copy) task
Copying app/favicon.ico -> dist/favicon.ico
Copying app/robots.txt -> dist/robots.txt
Copying app/.htaccess -> dist/.htaccess
Running "usemin:html" (usemin) task
Processing as HTML - dist/404.html
Update the HTML to reference our concat/min/revved script files
Update the HTML with the new css filenames
Update the HTML with the new img filenames
Update the HTML with data-main tags
Update the HTML with the data tags
Update the HTML with background imgs, case there is some inline style
Update the HTML with anchors images
Update the HTML with reference in input
Processing as HTML - dist/index.html
Update the HTML to reference our concat/min/revved script files
Update the HTML with the new css filenames
Update the HTML with the new img filenames
Update the HTML with data-main tags
Update the HTML with the data tags
Update the HTML with background imgs, case there is some inline style
Update the HTML with anchors images
Update the HTML with reference in input
Running "usemin:css" (usemin) task
Processing as CSS - dist/styles/main.css
Update the CSS with new img filenames
Done, without errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment