Skip to content

Commit

Permalink
Use -M with clojure.main
Browse files Browse the repository at this point in the history
Fixes #1044
  • Loading branch information
mfikes committed Dec 24, 2020
1 parent 5a76879 commit 0b9fd43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. This change
## [Unreleased]
### Changed
- Update to ClojureScript 1.10.758 ([#1034](https://github.com/planck-repl/planck/issues/1034))
- Use `-M` with `clojure.main` ([#1044](https://github.com/planck-repl/planck/issues/1044))

### Fixed
- Drone CI builds broken ([#1038](https://github.com/planck-repl/planck/issues/1038))
Expand Down
4 changes: 2 additions & 2 deletions planck-cljs/script/build
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ if [ -n "${CANARY_CLOJURESCRIPT_VERSION+set}" ]; then
fi

if [ -n "${RESOLVE_ALIAS+set}" ]; then
clojure -R"${RESOLVE_ALIAS}" -Sdeps "${DEPS:-{}}" script/build.clj
clojure -R"${RESOLVE_ALIAS}" -Sdeps "${DEPS:-{}}" -M script/build.clj
else
if [ "${VERBOSE_BUILD:-0}" == "1" ]; then
clojure -Sdeps "${DEPS:-{}}" -Spath
fi
clojure -Sdeps "${DEPS:-{}}" script/build.clj
clojure -Sdeps "${DEPS:-{}}" -M script/build.clj
fi

0 comments on commit 0b9fd43

Please sign in to comment.