Authored by xuqi

pkg gulpfile

@@ -163,7 +163,7 @@ gulp.task('concat-min-libs', ['pre-libs'], function() { @@ -163,7 +163,7 @@ gulp.task('concat-min-libs', ['pre-libs'], function() {
163 163
164 fs.writeFileSync(path, jsStr.substr(jsStr.indexOf('});') + 4)); 164 fs.writeFileSync(path, jsStr.substr(jsStr.indexOf('});') + 4));
165 165
166 - return gulp.src(['js/sea.js', distDir + '/libs.js']) 166 + return gulp.src(['js/sea.js', distDir.js + '/libs.js'])
167 .pipe(concat('lib.js')) 167 .pipe(concat('lib.js'))
168 .pipe(uglify()) 168 .pipe(uglify())
169 .pipe(gulp.dest(distDir.js)); 169 .pipe(gulp.dest(distDir.js));
@@ -27,6 +27,7 @@ @@ -27,6 +27,7 @@
27 "devDependencies": { 27 "devDependencies": {
28 "expect.js": "0.3.1" 28 "expect.js": "0.3.1"
29 }, 29 },
  30 + "buildArgs": "--idleading {{}}",
30 "inside": { 31 "inside": {
31 "iscroll": "iscroll/iscroll-probe" 32 "iscroll": "iscroll/iscroll-probe"
32 } 33 }