summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
blob: 55a896d63d8af3e061aa3294b65b72bb18659997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = function(grunt) {

  grunt.initConfig({
		compress: {
		  main: {
		    options: {
		      archive: 'target.zip'
		    },
		    files: [
		      {expand: true, cwd: 'src/', src: ['**/*', '!node_modules/**', '!.DS_Store', '!archive/**', '!tests/**'], dest: '/', filter: 'isFile'}
		    ]
		  }
		}
  });

	grunt.loadNpmTasks('grunt-contrib-compress');
	grunt.registerTask('default', ['compress']);
};