- a Makefile to deploy

- give a try to MS internationalization using resx files
This commit is contained in:
Paul Schneider
2014-10-27 14:48:14 +01:00
parent 454ff5b3ed
commit 0516ab585e
8 changed files with 456 additions and 1 deletions

33
Makefile Normal file
View File

@ -0,0 +1,33 @@
CONFIG=Release
DESTDIR=../build/web/$(CONFIG)
COPYUNCHANGED=false
all: build deploy
ddir:
mkdir -p $(DESTDIR)
deploy: ddir build
xbuild /p:Configuration=$(CONFIG) /p:SkipCopyUnchangedFiles=$(COPYUNCHANGED) /p:DeployDir=$(DESTDIR) /t:Deploy web/Web.csproj
rm -rf $(DESTDIR)/obj
rsync: rsync-preprod rsync-local
build:
xbuild /p:Configuration=$(CONFIG) /t:Build Yavsc.sln
clean:
xbuild /t:Clean
rm -rf $(DESTDIR)
rsync-preprod:
rsync -ravu build/web/ root@lavieille.localdomain:/srv/httpd/luapre
rsync-local:
rsync -ravu build/web/ root@localhost:/srv/www/yavsc
sourcepkg:
git archive --format=tar --prefix=yavsc-1.1/ 1.1 | bzip2 > yavsc-1.1.tar.bz2