reenable lint & native build

This commit is contained in:
Michael Jerger 2024-05-31 16:42:51 +02:00
parent 5eb83f78a0
commit 8aef785bdc

View file

@ -153,11 +153,11 @@ def upload_clj(project):
@task
def lint(project):
#run(
# "lein eastwood",
# shell=True,
# check=True,
#)
run(
"lein eastwood",
shell=True,
check=True,
)
run(
"lein ancient check",
shell=True,
@ -167,17 +167,17 @@ def lint(project):
@task
def inst(project):
package_uberjar(project)
# package_native(project)
package_native(project)
run(
f"sudo install -m=755 target/uberjar/{project.name}-standalone.jar /usr/local/bin/{project.name}-standalone.jar",
shell=True,
check=True,
)
# run(
# f"sudo install -m=755 target/graalvm/{project.name} /usr/local/bin/{project.name}",
# shell=True,
# check=True,
# )
run(
f"sudo install -m=755 target/graalvm/{project.name} /usr/local/bin/{project.name}",
shell=True,
check=True,
)
@task