You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a lein redline-rpm --brand='*', which will call lein build internally whose alias will be resolved into ["shell" "npm" "run" "build"] then I can see that the brand argument is missing.
I guess leiningen is not passing on any arguments to the alias when called.
Here an extract of our project.clj
; Prep-tasks are called on clojure compilation which is needed for lein run or lein jar
:prep-tasks
[ "build"
"javac"
"compile"]
:aliases
{ "build" ["shell" "npm" "run" "build"]
"test" ["shell" "npm" "run" "test"]
"test:unit" ["shell" "npm" "run" "test:unit"]
"deps" ["do" "deps" ["shell" "npm" "i"]]
; A trick to adjust environment before running commands, see
; https://github.com/hyPiRion/lein-shell/issues/17
:shell
{:commands
{ "npm" {:default-command "npm"}}}
How can I force leiningen to pass on arguments further to npm?
The text was updated successfully, but these errors were encountered:
@binarykitchen: No problem, and sorry about the delay here. I've also pushed out a fix in lein-shell, so changing the lein-shell version to 0.4.2 should now work on any version of leiningen.
When I do a
lein redline-rpm --brand='*'
, which will calllein build
internally whose alias will be resolved into["shell" "npm" "run" "build"]
then I can see that thebrand
argument is missing.I guess leiningen is not passing on any arguments to the alias when called.
Here an extract of our project.clj
How can I force leiningen to pass on arguments further to npm?
The text was updated successfully, but these errors were encountered: