Skip to content

Commit

Permalink
Make commands for running applications for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Aug 9, 2016
1 parent 3882e83 commit 8a93248
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Expand Up @@ -52,7 +52,18 @@ build-access:
static/front/front.css \
static/front/peek.css \
> static/css/cdr_access.css

SUSPEND = "n"

run-access:
cd access && export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=48008,server=y,suspend=$(SUSPEND)"; mvn jetty:run

run-admin:
cd admin && export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=48009,server=y,suspend=$(SUSPEND)"; mvn jetty:run

run-deposit:
cd deposit && mvn exec:exec

ifneq ($(VERSION), "")
for i in static/js/public/*.js; do \
sed "s/\(urlArgs *: *\)\".*\"/\1\"v=$(VERSION)\"/" $$i > $$i.temp; \
Expand Down

0 comments on commit 8a93248

Please sign in to comment.