Explorar o código

trysmalltalk: add Gruntfile.js

Manfred Kroehnert %!s(int64=11) %!d(string=hai) anos
pai
achega
70e70e6868
Modificáronse 1 ficheiros con 21 adicións e 0 borrados
  1. 21 0
      trysmalltalk/Gruntfile.js

+ 21 - 0
trysmalltalk/Gruntfile.js

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