Fixes the Site wize skills page,
makes use of Mono.Web.Xdt at deploy time * PayPalController.cs: implements a Paypal controller * Abort.aspx: Paypal paiement aborting page * Commit.aspx: Paypal paiement commit page * IPN.aspx: Paypal paiement notification page * Index.aspx: Paypal paiement form page * WebTasks.dll: thanks to he Marcelo Zabani's coding blog: <https://mzabani.wordpress.com/2013/09/24/mono-asp-net-project-deployment-with-web-config-xdt-transformations/> * .gitignore: ignore my new config transformation sources * pkg.mdproj: * Presta.csproj: * TestAPI.csproj: * fortune.csproj: * SalesCatalog.csproj: * ITContentProvider.csproj: * NpgsqlMRPProviders.csproj: * NpgsqlBlogProvider.csproj: * NpgsqlContentProvider.csproj: adds a build target named "Lua" * Makefile: instead of `deploy`, start Xsp, in the `dist` folder * Yavsc.sln: * YavscModel.csproj: * WebControls.csproj: * YavscClient.csproj: Lua config * yavsc.rate.js: refactoring, still needs a cleanning * RateSkillControl.ascx: give it the `rate-site-skill` `data-type` html attribute * RateUserSkillControl.ascx: cleans an obsolete code chunk * Web.csproj: Fixes the missing RateSkillControl at deploy time, adds my deployment config
This commit is contained in:
parent
47285f8b83
commit
029a80e2c4
44 changed files with 574 additions and 281 deletions
10
Makefile
10
Makefile
|
|
@ -37,16 +37,14 @@ ddir:
|
|||
deploy: ddir build
|
||||
rm -rf $(LYDESTDIR)
|
||||
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)!"
|
||||
echo "!Deploying to $(HOST) using $(CONFIG) config!"
|
||||
$(RSYNCCMD) dist/web/$(CONFIG)/ root@$(HOST):$(DESTDIR)
|
||||
ssh root@$(HOST) "service apache2 reload"
|
||||
|
||||
build:
|
||||
xbuild /p:Configuration=$(CONFIG) /t:Build Yavsc.sln
|
||||
|
|
@ -61,8 +59,8 @@ distclean: clean
|
|||
sourcepkg:
|
||||
git archive --format=tar --prefix=yavsc-$(CONFIG)/ $(CONFIG) | bzip2 > yavsc-$(CONFIG).tar.bz2
|
||||
|
||||
debug: build
|
||||
(cd web; export MONO_OPTIONS=--debug; xsp4 --port 8080)
|
||||
start_xsp: deploy
|
||||
(cd $(LDYDESTDIR); export MONO_OPTIONS=--debug; xsp4 --port 8080)
|
||||
|
||||
xmldoc: $(patsubst %,web/bin/%,$(DOCASSBS))
|
||||
mdoc-update $^ $(patsubst %.dll,-i%.xml,$^) --out web/xmldoc
|
||||
|
|
@ -73,7 +71,7 @@ htmldoc: xmldoc
|
|||
docdeploy-prod: htmldoc
|
||||
rsync -ravu web/htmldoc root@$(PRODHOSTDIR)
|
||||
|
||||
rsync_lua:
|
||||
rsync_lua: CONFIG = Lua
|
||||
|
||||
rsync_yavsc:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue