You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Gruntfile_luticate.js 803B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Created by robin on 11/10/15.
  3. */
  4. module.exports = function(grunt) {
  5. grunt.loadNpmTasks('grunt-contrib-copy');
  6. var path = require('path');
  7. grunt.initConfig({
  8. globals: {
  9. releasePath: 'build/release/luticate',
  10. appFolder: 'luticate',
  11. staticFiles: [
  12. '**'
  13. ]
  14. },
  15. copy: {
  16. release: {
  17. files: [
  18. {
  19. expand: true,
  20. cwd:'<%= globals.appFolder %>/',
  21. src: ['<%= globals.staticFiles %>'],
  22. dest: '<%= globals.releasePath %>'
  23. }
  24. ]
  25. }
  26. }
  27. });
  28. grunt.registerTask('default', [
  29. 'copy:release'
  30. ]);
  31. };