Browse Source

removed dependency, added lein clean to the startup script

Yogthos 11 years ago
parent
commit
c68f1d3327
2 changed files with 1 additions and 1 deletions
  1. 0 1
      luminus/hello/project.clj
  2. 1 0
      luminus/setup.py

+ 0 - 1
luminus/hello/project.clj

@@ -11,7 +11,6 @@
    [com.postspectacular/rotor "0.1.0"]
    [com.taoensso/tower "1.5.1"]
    [markdown-clj "0.9.40"]
-   [org.clojure/java.jdbc "0.2.3"]
    [mysql/mysql-connector-java "5.1.28"]
    [korma "0.3.0-RC5"]
    [log4j

+ 1 - 0
luminus/setup.py

@@ -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)