Compare commits
No commits in common. "75e0b293c8083544da7db2a3f08bc757c996fac9" and "0e5f5aae2abe89040d98c4baf8ea23382a5f9dfb" have entirely different histories.
75e0b293c8
...
0e5f5aae2a
3 changed files with 3 additions and 45 deletions
41
build.py
41
build.py
|
@ -106,47 +106,6 @@ def package_uberjar(project):
|
|||
check=True,
|
||||
)
|
||||
|
||||
@task
|
||||
def package_native(project):
|
||||
run(
|
||||
"mkdir -p target/graalvm",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
run(
|
||||
"lein native",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
|
||||
@task
|
||||
def inst(project):
|
||||
run(
|
||||
"lein uberjar",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
run(
|
||||
"mkdir -p target/graalvm",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
run(
|
||||
"lein native",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
run(
|
||||
"sudo install -m=755 target/uberjar/c4k-forgejo-standalone.jar /usr/local/bin/c4k-forgejo-standalone.jar",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
run(
|
||||
"sudo install -m=755 target/graalvm/c4k-forgejo /usr/local/bin/c4k-forgejo",
|
||||
shell=True,
|
||||
check=True,
|
||||
)
|
||||
|
||||
|
||||
@task
|
||||
def upload_clj(project):
|
||||
|
|
BIN
c4k-forgejo-standalone
Executable file
BIN
c4k-forgejo-standalone
Executable file
Binary file not shown.
|
@ -26,7 +26,7 @@
|
|||
[ch.qos.logback/logback-classic "1.4.14"
|
||||
:exclusions [com.sun.mail/javax.mail]]
|
||||
[org.slf4j/jcl-over-slf4j "2.0.12"]
|
||||
[com.github.clj-easy/graal-build-time "1.0.5"]]}}
|
||||
[com.github.clj-easy/graal-build-time "0.1.5"]]}}
|
||||
:release-tasks [["test"]
|
||||
["vcs" "assert-committed"]
|
||||
["change" "version" "leiningen.release/bump-version" "release"]
|
||||
|
@ -40,11 +40,10 @@
|
|||
"--report-unsupported-elements-at-runtime"
|
||||
"--no-server"
|
||||
"--no-fallback"
|
||||
"--features=clj_easy.graal_build_time.InitClojureClasses"
|
||||
"-jar" "target/uberjar/c4k-forgejo-standalone.jar"
|
||||
"-H:IncludeResources=.*.yaml"
|
||||
"-H:Log=registerResource:verbose"
|
||||
"-H:Name=target/graalvm/${:name}"
|
||||
"-jar" "target/uberjar/c4k-forgejo-standalone.jar"
|
||||
]
|
||||
"inst" ["shell"
|
||||
"sh"
|
||||
|
|
Loading…
Reference in a new issue