@darwin basically lumo
has a boot task that does the packaging but the version can of course be read from an env var or a parameter to the task
so how does the canary
works? you can point me to some doc if you don't have time to explain 😉
oh sorry found: https://github.com/cljs-oss/canary/tree/master
@richiardiandrea I think there were roughly 4 things needed to set Planck up for Canary (Lumo would likely be similar). It also helps to understand that Canary would simply trigger additional Travis builds of Lumo, but those builds of Lumo would effectively built against HEAD of ClojureScript master.
1) Add a line to the .travis.yml
to fetch the Canary-built ClojureScript JAR, like https://github.com/mfikes/planck/blob/master/.travis.yml#L18
2) Conditionally use this JAR if CANARY_CLOJURESCRIPT_VERSION
is set. Planck does this here using deps.edn
https://github.com/mfikes/planck/blob/master/planck-cljs/script/build#L17, but it used to it this way with lein https://github.com/mfikes/planck/commit/8031e8dda3622893b1834ab33bffef36d6e869bf#diff-a509fc2cf6b205258ab072253251d029L1
3) Add a ^:task
to the Canary source repo. Planck's is here (probably more complicated than normal): https://github.com/cljs-oss/canary/blob/master/runner/src/canary/projects/mfikes.clj#L4
4) Deal with setting up a CANARY_LUMO_TRAVIS_TOKEN
(I'd follow the docs)
Done the steps, the token is the thing I am missing...
which docs do I need to follow? I guess Travis docs? @anmonteiro Maybe I need to ask your help on this.
@mfikes awesome explanation thanks, it all seems easy to achieve
Yeah, it can definitely be rough around the edges so don't hesitate to ask
K cool I will