Fork me on GitHub
#shadow-cljs
<
2020-07-09
>
Schpaa19:07:36

Does something like day8/lein-git-inject exist for shadow-cljs (such that I don’t have to use lein-shadow)?

thheller19:07:24

no. but you can use lein without lein-shadow ... or deps.edn

thheller19:07:57

if you are asking about injecting a "version" into the build you can use https://shadow-cljs.github.io/docs/UsersGuide.html#config-merge

Schpaa19:07:26

Glossed over that one, thanks

Aleed21:07:48

If I need to use aliases, running shadow-cljs server isn’t an option right? I see it mentioned in docs, just checking in case there’s possible workarounds.

thheller22:07:33

@alidcastano I don't undersatnd the question? what aliases?

Aleed22:07:39

@thheller tools.deps aliases from this bit of the docs, I infer I can’t do shadow-cljs server -A:foo and have the builds I start up inherit those options > Aliases are only applied when a new instance/server is started. They do not apply when connecting to a running server using the `shadow-cljs` command.

thheller22:07:31

you can use aliases like that

thheller22:07:53

you however can not use an alias per build.

thheller22:07:45

shadow-cljs server -A:foo is fine

👍 3