Skip to content
This repository was archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
bumped electron to 0.36.10 and cleand up gulp files
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorstenHans committed Mar 10, 2016
1 parent 5307461 commit d9a5068
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions gulpTasks/cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
path.join(config.targets.cordovaFolder, 'plugins'),
path.join(config.targets.cordovaFolder, 'resources'),
path.join(config.targets.cordovaFolder, 'www')
], {force:true});
], { force: true });
});

gulp.task('[private-cordova]:config-for-livereload', function () {
Expand Down Expand Up @@ -48,7 +48,6 @@
});

gulp.task('cordova:watch:ios', function () {
// gulp.start('dev:watch');
runSequence('[private-cordova]:clean',
'[private-cordova]:copy-source',
'[private-cordova]:remove-fake-script',
Expand Down Expand Up @@ -123,13 +122,13 @@
return del(path.join(config.targets.cordovaFolder, 'www', 'cordova.js'));
});

gulp.task('[private-cordova]:build-only', function(done){
gulp.task('[private-cordova]:build-only', function (done) {
sh.cd(config.targets.cordovaFolder);
sh.exec('cordova build ios');
sh.cd('..');
done();
});
gulp.task('rebuild-cordova', function(done){
gulp.task('rebuild-cordova', function (done) {
runSequence('build-web', '[private-cordova]:copy-source', '[private-cordova]:remove-fake-script', '[private-cordova]:build-only', done);
});

Expand Down
2 changes: 1 addition & 1 deletion gulpTasks/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
function buildAppFor(targetPlatform, target) {
return gulp.src(path.join(config.targets.electronFolder, 'www', '**', '*'))
.pipe(electron({
version: '0.36.9',
version: '0.36.10',
platform: targetPlatform,
arch: 'x64',
companyName: 'Thinktecture AG',
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'build-web',
[
'build-electron',
'build-cordova',
'build-cordova'
]
, done
);
Expand Down

0 comments on commit d9a5068

Please sign in to comment.