|
@@ -7,6 +7,7 @@ def start(args):
|
|
|
setup_util.replace_text("luminus/hello/src/hello/models/schema.clj", ":subname \"//.*:3306", ":subname \"//" + args.database_host + ":3306")
|
|
|
|
|
|
try:
|
|
|
+ subprocess.check_call("lein clean", shell=True, cwd="compojure/hello", stderr=errfile, stdout=logfile)
|
|
|
subprocess.check_call("lein ring uberwar", shell=True, cwd="luminus/hello")
|
|
|
subprocess.check_call("rm -rf $RESIN_HOME/webapps/*", shell=True)
|
|
|
subprocess.check_call("cp luminus/hello/target/hello-luminus-standalone.war $RESIN_HOME/webapps/luminus.war", shell=True)
|