Gruntfile.js 701 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * grunt-module-dependence
  3. * https://github.com/HanCong03/formula
  4. *
  5. * Copyright (c) 2014 hancong03
  6. * Licensed under the MIT license.
  7. */
  8. 'use strict';
  9. module.exports = function (grunt) {
  10. grunt.initConfig({
  11. dependence: {
  12. replace: {
  13. options: {
  14. base: '../../src'
  15. },
  16. files: [ {
  17. src: [ '../../src/**/*.js' ],
  18. // src: '../../src/formula.js',
  19. dest: 'form.js'
  20. } ]
  21. }
  22. }
  23. });
  24. // Actually load this plugin's task(s).
  25. grunt.loadTasks('tasks');
  26. grunt.registerTask('default', ['dependence']);
  27. };