-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from figwheel-main to shadow-cljs
- Loading branch information
1 parent
7337b4f
commit 56d43a3
Showing
15 changed files
with
750 additions
and
64 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{:paths ["src"] | ||
|
||
:deps | ||
{org.clojure/clojure {:mvn/version "1.10.3"} | ||
quil/quil {:mvn/version "3.1.0"}} | ||
|
||
:aliases | ||
{:cljs | ||
{:extra-deps | ||
{org.clojure/clojurescript {:mvn/version "1.10.891"} | ||
thheller/shadow-cljsjs {:mvn/version "0.0.22"}}} | ||
|
||
:dev | ||
{:extra-paths ["dev"] | ||
:extra-deps | ||
{thheller/shadow-cljs {:mvn/version "2.16.4"}} | ||
:main-opts ["-m" "shadow.cljs.devtools.cli"]}}} |
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,2 +1,9 @@ | ||
(require '[figwheel.main.api :as fig]) | ||
(fig/start "biosphere") | ||
(ns user | ||
(:require | ||
[shadow.cljs.devtools.server :as server] | ||
[shadow.cljs.devtools.api :as shadow])) | ||
|
||
(defn start-repl [] | ||
(server/start!) | ||
(shadow/watch :main) | ||
(shadow/repl :main)) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "biosphere", | ||
"author": "Björn Ebbinghaus (https://github.com/MrEbbinghaus)", | ||
"homepage": "https://mrebbinghaus.github.io/Biosphere/", | ||
"repository": "github:MrEbbinghaus/Biosphere", | ||
"dependencies": { | ||
"p5": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"shadow-cljs": "^2.16.4" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{:deps {:alias [:cljs :dev]} | ||
:builds {:main | ||
{:target :browser | ||
:output-dir "resources/public/js" | ||
:modules {:app {:entries [biosphere.core]}} | ||
|
||
:devtools | ||
{:repl-init-ns user | ||
:repl-pprint true | ||
:http-port 9500 | ||
:http-root "resources/public"}}}} |
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.