Skip to content

Commit f0c491e

Browse files
committed
Switch to shadow-cljs
1 parent ff2f7b3 commit f0c491e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+6738
-226
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9-
9+
1010
steps:
1111
- uses: actions/checkout@v1
1212
- name: Clojure install
@@ -18,14 +18,10 @@ jobs:
1818
uses: actions/setup-node@v1
1919
- name: npm install
2020
run: npm install
21-
- name: Build js
22-
run: npx webpack
23-
- name: Build
24-
run: |
25-
clojure -m figwheel.main -O advanced -bo dev
26-
cp -r resources/public/* target/public/
21+
- name: Build JS
22+
run: npx shadow-cljs release app
2723
- name: Deploy
2824
uses: maxheld83/[email protected]
2925
env:
3026
GH_PAT: ${{ secrets.GH_PAT }}
31-
BUILD_DIR: "target/public"
27+
BUILD_DIR: "public"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
target/
44
node_modules/
55
dist/
6+
/.clj-kondo/
7+
/.lsp/
8+
/.shadow-cljs/
9+
/public/js/cljs-runtime

deps.edn

Lines changed: 0 additions & 11 deletions
This file was deleted.

dev.cljs.edn

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)