Fork me on GitHub
#leiningen
<
2023-01-09
>
Maris19:01:31

I need to rename few files during leiningen release process. ( as part of :release-tasks ) Is there a plugin for that? Do I need to write my own ?

Rupert (All Street)08:01:43

The approach we take: Create an alias e.g. "build" then use shell in command

:aliases {"build"  ["do" ["install"]
                         ["uberjar"]
                         ["shell" "echo" "Command here (e.g. mv) "]
                         ["shell" "echo" "Command here"]]}
then run lein <alias> e.g. lein build

👍 2