Use name instead of module for executable names
This commit is contained in:
parent
bd2683b722
commit
aa8e44a901
1 changed files with 6 additions and 6 deletions
|
@ -52,15 +52,15 @@
|
|||
|
||||
(defn-spec c4k-uberjar-command seq?
|
||||
[config ::config]
|
||||
(let [{:keys [module]} config
|
||||
executable-name (str "c4k-" module "-standalone.jar")]
|
||||
[["bash" "-c" (str executable-name " " (config-path config) " " (auth-path config) " > " (output-path config))]]))
|
||||
(let [{:keys [name]} config
|
||||
executable-name (str "c4k-" name "-standalone.jar")]
|
||||
["bash" "-c" (str executable-name " " (config-path config) " " (auth-path config) " > " (output-path config))]))
|
||||
|
||||
(defn-spec c4k-graalvm-command seq?
|
||||
[config ::config]
|
||||
(let [{:keys [module]} config
|
||||
executable-name (str "c4k-" module)]
|
||||
[["bash" "-c" (str executable-name " " (config-path config) " " (auth-path config) " > " (output-path config))]]))
|
||||
(let [{:keys [name]} config
|
||||
executable-name (str "c4k-" name)]
|
||||
["bash" "-c" (str executable-name " " (config-path config) " " (auth-path config) " > " (output-path config))]))
|
||||
|
||||
(defn-spec create-c4k-config map?
|
||||
[config ::config
|
||||
|
|
Loading…
Reference in a new issue