Browse Source

processing: add Gruntfile.js

Manfred Kroehnert 11 years ago
parent
commit
31c83dd159
1 changed files with 21 additions and 0 deletions
  1. 21 0
      processing/Gruntfile.js

+ 21 - 0
processing/Gruntfile.js

@@ -0,0 +1,21 @@
+module.exports = function(grunt) {
+  grunt.loadTasks('../vendor/amber/grunt/tasks/');
+
+  grunt.registerTask('default', ['amberc:processing']);
+
+  grunt.initConfig({
+    pkg: grunt.file.readJSON('../package.json'),
+
+    amberc: {  
+      _config: {
+        amber_dir: '../vendor/amber',
+        closure_jar: ''
+      },
+      processing: {
+        src: ['st/Processing-Examples.st'],
+        output_dir: 'js'
+      }
+    }
+  });
+
+}