Automatic zip creating Grunt
This commit is contained in:
parent
4bf38eb66a
commit
44719bbf8c
@ -100,14 +100,14 @@ module.exports = function(grunt) {
|
|||||||
return /build\/mobile\/(.*)/.exec(path)[1];
|
return /build\/mobile\/(.*)/.exec(path)[1];
|
||||||
},
|
},
|
||||||
src: 'build/mobile/**',
|
src: 'build/mobile/**',
|
||||||
dest: 'build/sketchy-mobile-<%= manifest.version %>.zip'
|
dest: 'sketchy-mobile-<%= manifest.version %>.zip'
|
||||||
},
|
},
|
||||||
web: {
|
web: {
|
||||||
router: function(path) {
|
router: function(path) {
|
||||||
return /build\/web\/(.*)/.exec(path)[1];
|
return /build\/web\/(.*)/.exec(path)[1];
|
||||||
},
|
},
|
||||||
src: 'build/web/**',
|
src: 'build/web/**',
|
||||||
dest: 'build/sketchy-web-<%= manifest.version %>.zip'
|
dest: 'sketchy-web-<%= manifest.version %>.zip'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@
|
|||||||
"Javascript"
|
"Javascript"
|
||||||
],
|
],
|
||||||
"author": "Mahdi Dibaiee",
|
"author": "Mahdi Dibaiee",
|
||||||
"license": "GPL V2",
|
"license": "GPL V2"
|
||||||
}
|
}
|
||||||
|
BIN
sketchy-mobile-1.2.zip
Normal file
BIN
sketchy-mobile-1.2.zip
Normal file
Binary file not shown.
BIN
sketchy-web-1.2.zip
Normal file
BIN
sketchy-web-1.2.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user