mirror of
https://github.com/status-im/re-frame-10x.git
synced 2025-02-17 16:36:42 +00:00
Add source-deps script for automating mranderson
This commit is contained in:
parent
5dace64337
commit
afd847eddb
@ -56,12 +56,7 @@ We are using CSS preprocessing to isolate the panel styles, by namespacing the p
|
|||||||
|
|
||||||
We want to use re-frame, but we don't want to use the re-frame that the host is using, or tracing will get very messy. Instead, we use [mranderson](https://github.com/benedekfazekas/mranderson) to create source dependencies of re-frame and reagent.
|
We want to use re-frame, but we don't want to use the re-frame that the host is using, or tracing will get very messy. Instead, we use [mranderson](https://github.com/benedekfazekas/mranderson) to create source dependencies of re-frame and reagent.
|
||||||
|
|
||||||
```console
|
Run `./source-deps.sh` to update the source dependencies.
|
||||||
$ lein do clean
|
|
||||||
$ lein with-profile mranderson source-deps
|
|
||||||
$ cp -r target/srcdeps/mranderson047 src
|
|
||||||
# Then delete the META-INF directories
|
|
||||||
```
|
|
||||||
|
|
||||||
### How does re-frame-trace build?? I don't see anything in the project.clj that looks like it will build.
|
### How does re-frame-trace build?? I don't see anything in the project.clj that looks like it will build.
|
||||||
|
|
||||||
|
@ -36,12 +36,14 @@
|
|||||||
cljsjs/react
|
cljsjs/react
|
||||||
cljsjs/react-dom
|
cljsjs/react-dom
|
||||||
cljsjs/react-dom-server
|
cljsjs/react-dom-server
|
||||||
|
cljsjs/create-react-class
|
||||||
org.clojure/tools.logging
|
org.clojure/tools.logging
|
||||||
net.cgrand/macrovich]]
|
net.cgrand/macrovich]]
|
||||||
^:source-dep [reagent "0.6.0"
|
^:source-dep [reagent "0.7.0"
|
||||||
:exclusions [org.clojure/clojurescript
|
:exclusions [org.clojure/clojurescript
|
||||||
cljsjs/react
|
cljsjs/react
|
||||||
cljsjs/react-dom
|
cljsjs/react-dom
|
||||||
cljsjs/react-dom-server
|
cljsjs/react-dom-server
|
||||||
|
cljsjs/create-react-class
|
||||||
org.clojure/tools.logging
|
org.clojure/tools.logging
|
||||||
net.cgrand/macrovich]]]}})
|
net.cgrand/macrovich]]]}})
|
||||||
|
7
source-deps.sh
Executable file
7
source-deps.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
lein do clean
|
||||||
|
lein with-profile mranderson source-deps
|
||||||
|
cp -r target/srcdeps/mranderson047 src
|
||||||
|
# Then delete the META-INF directories
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user