plexus / chestnut

Application template for Clojure + ClojureScript web apps
Eclipse Public License 1.0
1.32k stars 99 forks source link

Template ignoring option flags #171

Closed johnboy14 closed 8 years ago

johnboy14 commented 8 years ago

When I specify alternative options as shown below the project is still generated using the default options

lein new chestnut chestnutdemo --http-kit --sass --reagent --vanilla

project.clj

:dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/clojurescript "1.7.228" :scope "provided"]
                 [ring "1.4.0"]
                 [ring/ring-defaults "0.2.0"]
                 [bk/ring-gzip "0.1.1"]
                 [ring.middleware.logger "0.5.0"]
                 [compojure "1.5.0"]
                 [environ "1.0.2"]
                 [org.omcljs/om "1.0.0-alpha31"]]
plexus commented 8 years ago

From the README:

Use -- to separate these options from Leiningen's options, e.g. lein new chestnut foo --snapshot -- --http-kit

Recent versions of Leiningen are more picky about this