Skip to content

Commit

Permalink
[fix] Fix shadow-cljs broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Dec 30, 2024
1 parent d04d6e9 commit d648223
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
6 changes: 5 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@

:dependencies
[[org.clojure/test.check "1.1.1"]
[org.clojure/core.async "1.6.681"]]
[org.clojure/core.async "1.6.681"]
[thheller/shadow-cljs "2.28.20"]
[nrepl "1.3.0"]
[cider/cider-nrepl "0.50.3"]
[com.google.javascript/closure-compiler-unshaded "v20240317"]]

:plugins
[[lein-pprint "1.3.2"]
Expand Down
15 changes: 2 additions & 13 deletions shadow-cljs.edn
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
{;;:lein true
:source-paths ["src" "test"]
:dependencies
[[org.clojure/tools.reader "1.4.1"]
[com.taoensso/truss "1.11.0"]
[cider/cider-nrepl "0.47.0"]
#_[binaryage/devtools "1.0.7"]]

:nrepl
{:port 7887
:middleware
[cider.nrepl/cider-middleware]}

{:lein true
:nrepl {:port 7887 :middleware [cider.nrepl/cider-middleware]}
:dev-http {8090 {:root "public"}}
:builds
{:main
Expand Down
8 changes: 8 additions & 0 deletions shadow-cljs.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
#!/bin/bash
lein javac

echo "Instructions:"
echo " 1. Open printed URLs in browser"
echo " 2. In Emacs: \`cider-connect-cljs\`"
echo " Use printed port, \`shadow\` type, \`main\` build"
echo

npx shadow-cljs watch main

0 comments on commit d648223

Please sign in to comment.