1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * Created by robin on 11/10/15.
- */
-
- module.exports = function(grunt) {
-
- grunt.loadNpmTasks('grunt-contrib-copy');
-
- var path = require('path');
-
- grunt.initConfig({
- globals: {
- releasePath: 'build/release',
- appFolder: '.',
- staticFiles: [
- 'favicon.ico',
- 'index.html'
- ]
- },
- copy: {
- release: {
- files: [
- {
- expand: true,
- cwd:'<%= globals.appFolder %>/',
- src: ['<%= globals.staticFiles %>'],
- dest: '<%= globals.releasePath %>'
- }
- ]
- }
- }
- });
- grunt.registerTask('release', [
- 'copy:release'
- ]);
-
-
- };
|