building/deploying update

This commit is contained in:
tmshv committed 2016-03-23 01:00:24 +03:00
1 parent 969112807c
commit 83c1e09c89
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -2,7 +2,7 @@
echo "Deploying art.shburg.org" echo "Deploying art.shburg.org"
NODE_ENV=production gulp NODE_ENV=production gulp deploy
server="art.shburg.org" server="art.shburg.org"
app_port=1800 app_port=1800
@@ -23,7 +23,8 @@ env GZIP=-9 tar -czf ${tarpath} \
echo "Build file: $tarpath" echo "Build file: $tarpath"
ssh h "rm -rf $destpath/*" #ssh h "rm -rf $destpath/*"
ssh h "rm -rf $destpath/public/*"
scp ${tarpath} hoster@${server}:${destpath} scp ${tarpath} hoster@${server}:${destpath}
echo "Build file successfully uploaded on server" echo "Build file successfully uploaded on server"
+1 -1
View File
@@ -79,7 +79,7 @@ gulp.task('compile', () => {
]) ])
.pipe(named()) .pipe(named())
.pipe(webpack({ .pipe(webpack({
// devtool: 'inline-source-map', devtool: isProduction ? 'inline-source-map' : null,
watch: doWatch, watch: doWatch,
output: { output: {
filename: '[name].js' filename: '[name].js'