Skip to content

Commit

Permalink
schema bug, that requires :cljsbuild when :figwheel :builds are present
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Jan 29, 2017
1 parent b09f844 commit 01c5af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sidecar/src/figwheel_sidecar/schemas/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,9 @@ Default: nil (disabled)

(def-key ::lein-project-with-figwheel-builds
(strict-keys
:opt-un [:figwheel.lein-project.require-builds/figwheel]
:req-un [:figwheel.lein-project.require-builds/figwheel]
;; don't require builds in cljsbuild
:req-un [:cljsbuild.lein-project/cljsbuild]))
:opt-un [:cljsbuild.lein-project/cljsbuild]))

(defn must-have-one-opt-none-build [with-builds]
(if (and (or (map? (:builds with-builds))
Expand Down

0 comments on commit 01c5af7

Please sign in to comment.