Gruntfile.js 459 B

12345678910111213141516171819202122
  1. module.exports = function(grunt) {
  2. grunt.loadTasks('../vendor/amber/grunt/tasks/');
  3. grunt.registerTask('default', ['amberc:presentation']);
  4. grunt.initConfig({
  5. pkg: grunt.file.readJSON('../package.json'),
  6. amberc: {
  7. _config: {
  8. amber_dir: '../vendor/amber',
  9. closure_jar: ''
  10. },
  11. presentation: {
  12. src: ['st/Presentation.st'],
  13. libraries: ['Canvas'],
  14. output_dir: 'js'
  15. }
  16. }
  17. });
  18. }