-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to latest clerk-utils, add template (#32)
- Loading branch information
Showing
37 changed files
with
2,496 additions
and
2,386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
{:config-in-call {nextjournal.clerk.viewer/->viewer-fn {:linters {:unresolved-symbol {:exclude [clj->js]} | ||
:unresolved-namespace {:exclude [js]}}} | ||
:unresolved-namespace {:exclude [nextjournal.clerk.render | ||
nextjournal.clerk.render.code | ||
nextjournal.clerk.render.hooks | ||
js]}}} | ||
nextjournal.clerk.viewer/->viewer-eval {:linters {:unresolved-symbol {:exclude [clj->js]} | ||
:unresolved-namespace {:exclude [js]}}}} | ||
:unresolved-namespace {:exclude [nextjournal.clerk.render | ||
nextjournal.clerk.render.code | ||
nextjournal.clerk.render.hooks | ||
js]}}}} | ||
:hooks {:analyze-call {nextjournal.clerk.viewer/->viewer-fn nextjournal.clerk.viewer/->viewer-fn | ||
nextjournal.clerk.viewer/->viewer-eval nextjournal.clerk.viewer/->viewer-fn}} | ||
:lint-as {nextjournal.clerk/defcached clojure.core/def}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
{:config-in-call | ||
{mentat.clerk-utils/cljs | ||
{:linters {:unresolved-symbol {:level :off} | ||
:unresolved-namespace {:level :off}}}}} | ||
{:lint-as | ||
{mentat.clerk-utils/->clerk clojure.test/do | ||
mentat.clerk-utils/->clerk-only clojure.test/do} | ||
:config-in-call | ||
{mentat.clerk-utils.show/show-sci | ||
{:linters | ||
{:unresolved-symbol {:level :off} | ||
:unresolved-namespace {:level :off}}} | ||
mentat.clerk-utils.show/show-cljs | ||
{:linters | ||
{:unresolved-symbol {:level :off} | ||
:unresolved-namespace {:level :off}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,20 +10,17 @@ jobs: | |
steps: | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
.cpcache | ||
.shadow-cljs | ||
~/.m2 | ||
key: "1" | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/deps.edn') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
# Install just one or all simultaneously | ||
cli: 1.10.3.1087 # Clojure CLI based on tools.deps | ||
# (optional) To avoid rate limit errors please provide github token | ||
cli: latest | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install babashka | ||
|
@@ -32,11 +29,10 @@ jobs: | |
version: '0.8.156' | ||
|
||
- name: Build static site | ||
run: bb publish-gh-pages | ||
run: bb build-static | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./public | ||
publish_dir: ./public/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.