add lein uberjar to inst & fix type

This commit is contained in:
az 2022-07-23 11:43:07 +02:00
parent 017f68b2c2
commit 4a9a592664
2 changed files with 5 additions and 6 deletions

View file

@ -40,8 +40,7 @@
"-H:ResourceConfigurationFiles=graalvm-resource-config.json" "-H:ResourceConfigurationFiles=graalvm-resource-config.json"
"-H:Log=registerResource" "-H:Log=registerResource"
"-H:Name=target/graalvm/${:name}"] "-H:Name=target/graalvm/${:name}"]
"inst" ["shell" "sudo" "inst" ["shell"
"install" "sh"
"-m=755" "-c"
"target/uberjar/c4k-gitea-standalone.jar" "lein uberjar && sudo install -m=755 target/uberjar/c4k-gitea-standalone.jar /usr/local/bin/c4k-gitea-standalone.jar"]})
"/usr/local/bin/c4k-gitea-standalone.jar"]})

View file

@ -28,7 +28,7 @@
(<= snd 65535)))))) (<= snd 65535))))))
;TODO: Maybe move to pred/comma-separated-fqdn-list? ;TODO: Maybe move to pred/comma-separated-fqdn-list?
(s/def ::service-domain-whitelist #(every? true? (map pred/fqdn-string? (str/split % #",")))) (s/def ::service-domain-whitelist #(every? true? (map pred/fqdn-string? (str/split % #","))))
(s/def ::service-noreply-address pred/fqdn-string?) (s/def ::service-noreply-address string?)
(s/def ::mailer-user pred/bash-env-string?) (s/def ::mailer-user pred/bash-env-string?)
(s/def ::mailer-pw pred/bash-env-string?) (s/def ::mailer-pw pred/bash-env-string?)
(s/def ::issuer pred/letsencrypt-issuer?) (s/def ::issuer pred/letsencrypt-issuer?)