luminus-template icon indicating copy to clipboard operation
luminus-template copied to clipboard

Support for +kioo

Open rterbush opened this issue 9 years ago • 1 comments

Kioo is on my list of requirements for a cljs app framework. If no one has started this, I will add it to my list.

rterbush avatar Apr 01 '15 22:04 rterbush

Sure, I think it would make sense for it to depend on the +cljs profile, so it should go before it here:

(defn generate-project
  "Create a new Luminus project"
  [options]
  (main/info "Generating a Luminus project.")
  (with-redefs [leiningen.new.templates/render-text render-template]
    (let [[assets options]
          (-> [core-assets options]
              auth-features
              db-features
              cucumber-features
              site-features
             ;;todo kioo-features
              cljs-features
              http-kit-features
              immutant-features
              sassc-features)]
      (render-assets assets (format-options options)))))

Then it could check if +cljs is in the list of options and if not set it there.

yogthos avatar Apr 02 '15 02:04 yogthos