summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Gruntfile.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000..55a896d
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,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']);
+}; \ No newline at end of file