diff --git a/gulpfile.js b/gulpfile.js index c9fe715..65cfc6b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,6 +10,8 @@ var log = gutil.log; var jshint = require('gulp-jshint'); +var zip = require('gulp-zip'); + var codeFiles = ['js/**/*.js', '!node_modules/**']; gulp.task('lint', function(){ @@ -51,4 +53,11 @@ gulp.task('server', function () { gulp.watch(['*.html', 'js/**/*.js'], notifyLivereload); }); +gulp.task('makepkg', function () { + return gulp.src(['**', '!node_modules/**', '!gauth.zip', + '!gulpfile.js', '!package.json', '!README.md']). + pipe(zip('gauth.zip')). + pipe(gulp.dest('.')); +}); + gulp.task('default', ['lint']); diff --git a/manifest.webapp b/manifest.webapp index 4ce9ee5..be6f92e 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -7,8 +7,9 @@ "type": "privileged", "icons": { "32": "img/icon_x32.png", - "48": "img/icon-48.png", - "128": "img/icon_128.png" + "48": "img/icon_x48.png", + "60": "img/icon_x60.png", + "128": "img/icon_x128.png" }, "installs_allowed_from": [ "*" @@ -17,4 +18,4 @@ "name": "Gerard Braad", "url": "http://gbraad.nl" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 3b55e8c..a6f1c1e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "gulp-util": "~2.2.0", "jshint": "~2.4.1", "gulp-jshint": "~1.4.0", - "gulp-livereload": "~1.1.1" + "gulp-livereload": "~1.1.1", + "gulp-zip": "~0.3.4" }, "scripts": { "test": "gulp"