don't use gulp.
This commit is contained in:
parent
fe9d04466e
commit
aaaf7583bb
1 changed files with 0 additions and 16 deletions
|
|
@ -56,20 +56,4 @@ gulp.task('run', shell.task(['ASPNET_ENV=Development dnx web --configuration=Deb
|
||||||
gulp.task('buildrelease', shell.task(['dnu build --configuration=Release']));
|
gulp.task('buildrelease', shell.task(['dnu build --configuration=Release']));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
gulp.task('cleanoutput', () => {
|
|
||||||
gulp.src('bin/output', { read: false }).pipe(clean())
|
|
||||||
});
|
|
||||||
gulp.task('dnupublish', ['cleanoutput'], () => {
|
|
||||||
shell.task(['dnu publish --configuration=Release',
|
|
||||||
'git log -1 --pretty=format:%h > bin/output/wwwroot/version'
|
|
||||||
]).apply();
|
|
||||||
});
|
|
||||||
gulp.task('pushinpre', ['dnupublish'], () => {
|
|
||||||
shell.task('contrib/rsync-to-pre.sh').apply();
|
|
||||||
})
|
|
||||||
gulp.task('pushinprod', ['dnupublish'], () => {
|
|
||||||
shell.task('contrib/rsync-to-prod.sh').apply();
|
|
||||||
})
|
|
||||||
|
|
||||||
gulp.task("default", ["watch"]);
|
gulp.task("default", ["watch"]);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue