- a Makefile to deploy
- give a try to MS internationalization using resx files
This commit is contained in:
33
Makefile
Normal file
33
Makefile
Normal 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
|
||||
|
Reference in New Issue
Block a user