Skip to content

Commit

Permalink
Switch to shadow-cljs
Browse files Browse the repository at this point in the history
  • Loading branch information
rollacaster committed Sep 23, 2022
1 parent ff2f7b3 commit 485633d
Show file tree
Hide file tree
Showing 51 changed files with 6,624 additions and 226 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Clojure install
Expand All @@ -18,14 +18,10 @@ jobs:
uses: actions/setup-node@v1
- name: npm install
run: npm install
- name: Build js
run: npx webpack
- name: Build
run: |
clojure -m figwheel.main -O advanced -bo dev
cp -r resources/public/* target/public/
- name: Build JS
run: npx shadow-cljs release app
- name: Deploy
uses: maxheld83/[email protected]
env:
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_DIR: "target/public"
BUILD_DIR: "public"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
target/
node_modules/
dist/
/.clj-kondo/
/.lsp/
/.shadow-cljs/
/public/js/cljs-runtime
11 changes: 0 additions & 11 deletions deps.edn

This file was deleted.

2 changes: 0 additions & 2 deletions dev.cljs.edn

This file was deleted.

Loading

0 comments on commit 485633d

Please sign in to comment.