leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
dangercoder 2020-11-06T09:19:32.078300Z

I tried to execute that command inside the docker-container and it says 'with-profile +ci-cd test' is not a task. See 'lein help'.

dangercoder 2020-11-06T09:19:56.078500Z

@noisesmith

dangercoder 2020-11-06T09:21:30.078700Z

I am using clojure:openjdk-11-lein from DockerHub

2020-11-06T15:51:16.078900Z

it looks to me like it wanted "with-profile" "+ci-cd" "test" in the Dockerfile, and got "with-profile +ci-cd test" instead

2020-11-06T15:52:23.079100Z

(ins)justin@abjection:~/clojure-experiments$ lein with-profile +foo repl
Warning: profile :foo not found.
Warning: profile :foo not found.
nREPL server started on port 46677 on host 127.0.0.1 - <nrepl://127.0.0.1:46677>
REPL-y 0.4.4, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 11.0.7+10-post-Ubuntu-2ubuntu219.10
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

user=&gt; Bye for now!
(ins)justin@abjection:~/clojure-experiments$ lein 'with-profile +foo repl'
'with-profile +foo repl' is not a task. See 'lein help'.

dangercoder 2020-11-06T18:48:52.079600Z

im gonna try to split it up thanks

dangercoder 2020-11-06T18:49:01.079800Z

because when I only have one command, such as "test" it works just fine

2020-11-06T20:41:13.080Z

right, that's what I'd expect from shell quoting

dangercoder 2020-11-06T21:10:22.080200Z

thanks @noisesmith I just verified that this solved my issue. I am very grateful that you took the time to help me out 🙂.