| Index: third_party/pkg/di/Gruntfile.coffee
|
| diff --git a/third_party/pkg/di/Gruntfile.coffee b/third_party/pkg/di/Gruntfile.coffee
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..430713051174635e9ee7a9bb30fbb65cd7d32172
|
| --- /dev/null
|
| +++ b/third_party/pkg/di/Gruntfile.coffee
|
| @@ -0,0 +1,18 @@
|
| +spawn = require('child_process').spawn
|
| +
|
| +DART_VM = process.env.DART_VM or '../dart-sdk/bin/dart'
|
| +
|
| +module.exports = (grunt) ->
|
| + grunt.initConfig
|
| + watch:
|
| + tests:
|
| + files: ['test/**/*.dart', 'lib/**/*.dart']
|
| + tasks: ['dart']
|
| + dart:
|
| + tests:
|
| + entry: 'test/main.dart'
|
| +
|
| + grunt.registerMultiTask 'dart', 'run dart program', ->
|
| + spawn(DART_VM, [@data.entry], {stdio: 'inherit'}).on 'close', @async()
|
| +
|
| + grunt.loadNpmTasks 'grunt-contrib-watch'
|
|
|