$ grunt watch
Running "watch" task
Waiting...
>> File "test/fixtures/banner/banner.styl" changed.
Running "stylus:compile" (stylus) task
File tmp/stylus.css created.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ember.I18n.translations = { | |
"app.done": "Done", | |
"app.continue": "Continue", | |
"app.ok": "OK", | |
"app.okay": "Okay", | |
"app.save": "Save", | |
"app.send": "Send", | |
"app.delete": "Delete", | |
"app.cancel": "Cancel", | |
"app.back": "Back", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Office\Documents\www\grunt>grunt | |
Running "jshint:gruntfile_tasks" (jshint) task | |
>> 2 files lint free. | |
Running "jshint:libs_n_tests" (jshint) task | |
>> 24 files lint free. | |
Running "jshint:subgrunt" (jshint) task | |
>> 1 file lint free. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var falafel = require('falafel'); | |
var globule = require('globule'); | |
var fs = require('fs'); | |
var path = require('path'); | |
// Remove this line | |
var line = "grunt.verbose.writeflags(options, 'Options');"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uglify: { | |
test: { | |
files: [{ | |
expand: true, | |
cwd: 'test/fixtures/', | |
src: '**/*.js', | |
dest: 'tmp/things', | |
ext: '.min.js', | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
db: { | |
// Books will be populated when setfromdb is ran | |
books: [] | |
}, | |
other: { | |
target: { | |
options: { | |
// Now when other:target is ran it will consume db.books | |
books: '<%= db.books %>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Office\Documents\www\node-exit>grunt nodeunit | |
Running "nodeunit:files" (nodeunit) task | |
Testing exit_test.jsF..F | |
>> exit - stdout stderr | |
>> Message: node log.js 0 1000 stdout stderr | |
>> Error: true == '**UNEXPECTED** [stderr] testing 10\n**UNEXPECTED** [stderr] testing 11\n**EXPECTED** [stderr] testing 10\n**UNEXPECTED** [stderr] testing 12\n**EXPECTED** [stderr] testing 11\n**UNE | |
XPECTED** [stderr] testing 13\n**EXPECTED** [stderr] testing 12\n**UNEXPECTED** [stderr] testing 14\n**EXPECTED** [stderr] testing 13\n**UNEXPECTED** [stderr] testing 15\n**EXPECTED** [stderr] testing | |
14\n**UNEXPECTED** [stderr] testing 16\n**EXPECTED** [stderr] testing 15\n**UNEXPECTED** [stderr] testing 17\n**EXPECTED** [stderr] testing 16\n**UNEXPECTED** [stderr] testing 18\n**EXPECTED** [stder | |
r] testing 17\n**UNEXPECTED** [stderr] testing 19\n**EXPECTED** [stderr] testing 18\n**UNEXPECTED** [stderr] testing 20\n**EXPECTED** [stderr] testing 19\n**UNEXPECTED** [stderr] testing 21\n**EXPECTE | |
D** [stderr] testing 20\n**UNE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var grunt = require('grunt'); | |
// hack to avoid loading a Gruntfile | |
// You can skip this and just use a Gruntfile instead | |
grunt.task.init = function() {}; | |
// Init config | |
grunt.initConfig({ | |
jshint: { | |
all: ['index.js'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cb = log.format({ | |
message: 'this\nis\na\ntest\n', | |
indent: 1, | |
format: function(line, pad) { | |
return util.format($.cyan('info') + $.gray(' %s') + '%s', pad, line) + (Array(20 - line.length).join('~')); | |
} | |
}); | |
console.log(cb); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var createTala = require('./') | |
var shell = require('gl-now')() | |
var createShader = require('gl-shader') | |
var createBuffer = require('gl-buffer') | |
var fs = require('fs') | |
var createSimpleShader = require('simple-2d-shader') | |
var tile2d = require('./lib/tile2d') |