Browse Source

Upraven Makefile, aby šel pustit "make deploy_test" i přes symlinky.

middleware_test
Martin Z. (Zimamazim) 5 years ago
parent
commit
9cd49ff7ba
  1. 2
      Makefile

2
Makefile

@ -64,7 +64,7 @@ schema_all.pdf:
# Deploy to current *mamweb-test* directory # Deploy to current *mamweb-test* directory
deploy_test: deploy_test:
@if [ ${USER} != "mam-web" ]; then echo "Only possible by user mam-web"; exit 1; fi @if [ ${USER} != "mam-web" ]; then echo "Only possible by user mam-web"; exit 1; fi
@if [ `pwd` != "/akce/mam/www/mamweb-test" ]; then echo "Only possible in /akce/mam/www/mamweb-test"; exit 1; fi @if [ `readlink -f .` != "/aux/akce/mam/www/mamweb-test" ]; then echo "Only possible in directory mamweb-test"; exit 1; fi
@echo "Installing version from origin/test ..." @echo "Installing version from origin/test ..."
git pull origin test git pull origin test
git clean -f git clean -f

Loading…
Cancel
Save