bill
This commit is contained in:
parent
08606c106b
commit
a120dae977
144 changed files with 10574 additions and 1527 deletions
|
|
@ -6,15 +6,10 @@ default: pushInPre
|
|||
watch:
|
||||
ASPNET_ENV=Development dnx-watch web --configuration=Debug
|
||||
|
||||
cleanRelease:
|
||||
clean:
|
||||
rm -rf bin/Release
|
||||
|
||||
cleanoutput:
|
||||
rm -rf bin/output
|
||||
|
||||
clean: cleanoutput cleanRelease
|
||||
gulp clean
|
||||
|
||||
bin/Release:
|
||||
dnu build --configuration=Release
|
||||
|
||||
|
|
@ -31,9 +26,13 @@ pushInPre: bin/output/wwwroot/version
|
|||
ssh root@localhost sync
|
||||
ssh root@localhost systemctl start kestrel-pre
|
||||
|
||||
push: bin/output/wwwroot/version
|
||||
pushInProd: bin/output/wwwroot/version
|
||||
ssh root@localhost systemctl stop kestrel
|
||||
ssh root@localhost rm -rf $(PRODDESTDIR)/approot
|
||||
(cd bin/output && rsync -ravu ./ root@localhost:$(PRODDESTDIR) >/dev/null)
|
||||
ssh root@localhost sync
|
||||
ssh root@localhost systemctl start kestrel
|
||||
|
||||
status:
|
||||
git status -s --porcelain
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue