reenable lint & native build
This commit is contained in:
parent
5eb83f78a0
commit
8aef785bdc
1 changed files with 11 additions and 11 deletions
22
build.py
22
build.py
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue