Custo totem ++
* parralax.js: refactoring * drummer-652345_1280.xxs.jpg: * musician-923526_1280.xxs.jpg: * live-concert-388160_1280.xxs.jpg: totem style * Makefile: cleaner code * style.css: -> Totem * BlogsController.cs: Fixes edition validation * App.master: externalize the parralax javascript code, finishes the merge from yavsc * UserPosts.aspx: Affiche "pas de contenu" quand aucun post n'est à afficher * Web.csproj: Totem images * instdbws.sql: Header images
This commit is contained in:
parent
8042031871
commit
40a49f5284
14 changed files with 177 additions and 168 deletions
39
Makefile
39
Makefile
|
|
@ -3,25 +3,17 @@ VERSION=1.1
|
|||
CONFIG=Debug
|
||||
LDYDESTDIR=build/web/$(CONFIG)
|
||||
COPYUNCHANGED="false"
|
||||
|
||||
HOST_rsync_local=localhost
|
||||
DESTDIR_rsync_local=/srv/www/yavsc
|
||||
|
||||
HOST_rsync_test=localhost
|
||||
DESTDIR_rsync_test=/srv/www/lua
|
||||
|
||||
HOST_rsync_pre=lua.localdomain
|
||||
DESTDIR_rsync_pre=/srv/www/yavsc
|
||||
|
||||
HOST_rsync_prod=lua.localdomain
|
||||
DESTDIR_rsync_prod=/srv/www/lua
|
||||
|
||||
RSYNCCMD=rsync -ravu --chown=www-data:www-data
|
||||
HOST_rsync_dev=totemdev.localdomain
|
||||
DESTDIR_rsync_dev=/srv/www/totemdev
|
||||
HOST_rsync_pre=totempre.localdomain
|
||||
DESTDIR_rsync_pre=/srv/www/totempre
|
||||
HOST_rsync_prod=totemprod.pschneider.fr
|
||||
DESTDIR_rsync_prod=/srv/www/totemprod
|
||||
DOCASSBS=NpgsqlBlogProvider.dll WorkFlowProvider.dll Yavsc.WebControls.dll ITContentProvider.dll NpgsqlMRPProviders.dll Yavsc.dll SalesCatalog.dll YavscModel.dll
|
||||
|
||||
RSYNCCMD=rsync -ravu --chown=www-data:www-data
|
||||
|
||||
all: deploy
|
||||
|
||||
|
||||
ddir:
|
||||
mkdir -p $(LDYDESTDIR)
|
||||
|
||||
|
|
@ -30,15 +22,13 @@ deploy: ddir build
|
|||
xbuild /p:Configuration=$(CONFIG) /p:SkipCopyUnchangedFiles=$(COPYUNCHANGED) /p:DeployDir=../$(LDYDESTDIR) /t:Deploy web/Web.csproj
|
||||
mv $(LDYDESTDIR)/Web.config $(LDYDESTDIR)/Web.config.new
|
||||
|
||||
|
||||
rsync_% : HOST = $(HOST_$@)
|
||||
|
||||
|
||||
rsync_% : DESTDIR = $(DESTDIR_$@)
|
||||
|
||||
|
||||
rsync_% : deploy
|
||||
echo "!Deploying to $(HOST)!"
|
||||
$(RSYNCCMD) build/web/$(CONFIG)/ root@$(HOST):$(DESTDIR)
|
||||
ssh root@$(HOST) apachectl restart
|
||||
|
||||
build:
|
||||
xbuild /p:Configuration=$(CONFIG) /t:Build Yavsc.sln
|
||||
|
|
@ -46,6 +36,8 @@ build:
|
|||
clean:
|
||||
xbuild /t:Clean
|
||||
find -name "StyleCop.Cache" -exec rm {} \;
|
||||
|
||||
distclean: clean
|
||||
rm -rf $(LDYDESTDIR)
|
||||
|
||||
sourcepkg:
|
||||
|
|
@ -63,14 +55,9 @@ htmldoc: xmldoc
|
|||
docdeploy-prod: htmldoc
|
||||
rsync -ravu web/htmldoc root@$(PRODHOSTDIR)
|
||||
|
||||
rsync_local:
|
||||
|
||||
rsync_test:
|
||||
rsync_dev:
|
||||
|
||||
rsync_pre:
|
||||
|
||||
rsync_prod:
|
||||
|
||||
bigrsync: rsync_test rsync_local rsync_pre rsync_prod
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue