Skip to content

Commit

Permalink
fix: makefile commands w.r.t. runtime module retirement
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
sgammon committed Jul 11, 2024
1 parent 5b8e19d commit 14ef44f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ BUILD_ARGS += $(patsubst %,-x %,$(NATIVE_TASKS))
OMIT_NATIVE =
else
ifeq ($(RELEASE),yes)
CLI_TASKS += :packages:runtime:nativeOptimizedCompile -Pelide.buildMode=release -Pelide.release=true -PenableSigning=true -PbuildDocs=true
CLI_TASKS += :packages:cli:nativeOptimizedCompile -Pelide.buildMode=release -Pelide.release=true -PenableSigning=true -PbuildDocs=true
else
CLI_TASKS += :packages:runtime:nativeCompile
CLI_TASKS += :packages:cli:nativeCompile
endif
endif
endif
Expand Down Expand Up @@ -337,7 +337,7 @@ endif
test: ## Run the library testsuite, and code-sample tests if SAMPLES=yes.
$(info Running testsuite...)
$(CMD)$(GRADLE_PREFIX) $(GRADLE) test check $(_ARGS)
$(CMD)$(GRADLE_PREFIX) $(GRADLE) :packages:runtime:optimizedRun --args="selftest"
$(CMD)$(GRADLE_PREFIX) $(GRADLE) :packages:cli:optimizedRun --args="selftest"

gvm: .graalvm-home ## Build a custom copy of GraalVM for use locally.
@echo "GraalVM is ready (profile: $(GVM_PROFILE))."
Expand Down Expand Up @@ -428,7 +428,7 @@ cli: ## Build the Elide command-line tool (native target).
$(info Building Elide CLI tool...)
$(CMD)mkdir -p $(CLI_DISTPATH)
$(CMD)$(GRADLE_PREFIX) $(GRADLE) \
:packages:runtime:$(NATIVE_TARGET_NAME) \
:packages:cli:$(NATIVE_TARGET_NAME) \
-Pversion=$(VERSION) \
-PbuildSamples=false \
-PbuildDocs=false \
Expand Down

0 comments on commit 14ef44f

Please sign in to comment.