Skip to content

Commit

Permalink
refactor(cli/templates/clojurescript): switch from deps.edn to `sha…
Browse files Browse the repository at this point in the history
…dow-cljs` directly
  • Loading branch information
just-sultanov committed Sep 22, 2022
1 parent da461bd commit 8d394e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/templates-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
cargo install --locked trunk
if: matrix.settings.template == 'yew'
- run: sudo apt install -y clojure
if: matrix.settings.template == 'clojurescript'

- name: download cli artifact
uses: actions/download-artifact@v3

Expand Down
6 changes: 0 additions & 6 deletions packages/cli/fragments/fragment-clojurescript/deps.edn

This file was deleted.

11 changes: 3 additions & 8 deletions packages/cli/fragments/fragment-clojurescript/shadow-cljs.edn
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
{:deps {:aliases [:develop]}
{:source-paths ["src/main/clojure"]

:nrepl {:init-ns user}
:dependencies [[reagent/reagent "1.1.1"]]

:dev-http {1420 "public"}

:build-defaults {:closure-defines {goog.DEBUG true}
:compiler-options {:output-feature-set :es-next}}

:builds {:app {:target :browser
:output-dir "public/js"
:asset-path "/js"
:modules {:main {:init-fn app.core/-main}}
:devtools {:preloads [devtools.preload]}
:dev {:external-config {:devtools/config {:features-to-install [:formatters :hints]}}}}}}
:modules {:main {:init-fn app.core/main}}}}}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
(dom/render [root])))


(defn -main
(defn main
"Application entry point."
{:export true}
[& _args]
Expand Down

0 comments on commit 8d394e8

Please sign in to comment.