* Web.csproj:
* LocalizedText.resx: * SimpleFormatter.cs: * TemplateException.cs: * ErrorHtmlFormatter.cs: * LocalizedText.Designer.cs: * WorkFlowManager.cs: * Makefile: refactoring * FrontOfficeApiController.cs: nice html error response in case of error at rendering a tex or pdf document * LocalizedText.fr.resx: Gives as title at rendering a template processing error
This commit is contained in:
parent
e847248366
commit
2f6146c0f7
10 changed files with 163 additions and 13 deletions
11
Makefile
11
Makefile
|
|
@ -3,8 +3,8 @@ VERSION=1.1
|
|||
CONFIG=Debug
|
||||
DESTDIR=build/web/$(CONFIG)
|
||||
COPYUNCHANGED="false"
|
||||
PREPRODHOST=yavsc.localdomain
|
||||
|
||||
PREPRODHOSTDIR=localhost:/srv/www/yavsc
|
||||
PRODHOSTDIR=localhost:/srv/www/lua
|
||||
all: deploy
|
||||
|
||||
ddir:
|
||||
|
|
@ -25,13 +25,10 @@ clean:
|
|||
rm -rf $(DESTDIR)
|
||||
|
||||
rsync-preprod: deploy
|
||||
rsync -ravu build/web/$(CONFIG)/ root@$(PREPRODHOST):/srv/www/yavsc
|
||||
rsync -ravu build/web/$(CONFIG)/ root@$(PREPRODHOSTDIR)
|
||||
|
||||
rsync-prod: deploy
|
||||
rsync -ravu build/web/$(CONFIG)/ root@$(PREPRODHOST):/srv/www/lua
|
||||
|
||||
rsync-local:
|
||||
rsync -ravu build/web/$(CONFIG)/ root@localhost:/srv/www/yavsc
|
||||
rsync -ravu build/web/$(CONFIG)/ root@$(PRODHOSTDIR)
|
||||
|
||||
sourcepkg:
|
||||
git archive --format=tar --prefix=yavsc-$(CONFIG)/ $(CONFIG) | bzip2 > yavsc-$(CONFIG).tar.bz2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue