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.
|
||||
|
||||
```console
|
||||
$ lein do clean
|
||||
$ lein with-profile mranderson source-deps
|
||||
$ cp -r target/srcdeps/mranderson047 src
|
||||
# Then delete the META-INF directories
|
||||
```
|
||||
Run `./source-deps.sh` to update the source dependencies.
|
||||
|
||||
### 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-dom
|
||||
cljsjs/react-dom-server
|
||||
cljsjs/create-react-class
|
||||
org.clojure/tools.logging
|
||||
net.cgrand/macrovich]]
|
||||
^:source-dep [reagent "0.6.0"
|
||||
^:source-dep [reagent "0.7.0"
|
||||
:exclusions [org.clojure/clojurescript
|
||||
cljsjs/react
|
||||
cljsjs/react-dom
|
||||
cljsjs/react-dom-server
|
||||
cljsjs/create-react-class
|
||||
org.clojure/tools.logging
|
||||
net.cgrand/macrovich]]]}})
|
||||
|
|
|
@ -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…
Reference in New Issue