Skip to content

Commit

Permalink
ensure output-dir exists when writeing module-loader.{json,edn}
Browse files Browse the repository at this point in the history
  • Loading branch information
thheller committed Mar 20, 2018
1 parent 65b9175 commit 8310a24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/shadow/build/targets/browser.clj
Expand Up @@ -339,6 +339,7 @@
edn-file
(data/output-file state "module-loader.edn")]

(io/make-parents json-file)

(spit json-file (json module-data))
(spit edn-file (pr-str module-data))
Expand Down

0 comments on commit 8310a24

Please sign in to comment.