Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit c333493

Browse files
authored
Merge pull request #69 from projectsyn/feat/compile-cmd
Split `COMMODORE_CMD` and `COMPILE_CMD`
2 parents 50b264c + 4d9ff08 commit c333493

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

moduleroot/Makefile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ docs-serve: ## Preview the documentation
5252
.PHONY: compile
5353
.compile:
5454
mkdir -p dependencies
55-
$(COMMODORE_CMD)
55+
$(COMPILE_CMD)
5656

5757
.PHONY: test
5858
test: commodore_args += -f tests/$(instance).yml

moduleroot/Makefile.vars.mk.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ VALE_ARGS ?= --minAlertLevel=error --config=/pages/ROOT/pages/.vale.ini /pages
3636

3737
ANTORA_PREVIEW_CMD ?= $(DOCKER_CMD) run --rm --publish 35729:35729 --publish 2020:2020 --volume "${PWD}/.git":/preview/antora/.git --volume "${PWD}/docs":/preview/antora/docs docker.io/vshn/antora-preview:3.0.1.1 --style=syn --antora=docs
3838

39-
COMMODORE_CMD ?= $(DOCKER_CMD) $(DOCKER_ARGS) $(root_volume) docker.io/projectsyn/commodore:latest component compile . $(commodore_args)
39+
COMMODORE_CMD ?= $(DOCKER_CMD) $(DOCKER_ARGS) $(root_volume) docker.io/projectsyn/commodore:latest
40+
COMPILE_CMD ?= $(COMMODORE_CMD) component compile . $(commodore_args)
4041
JB_CMD ?= $(DOCKER_CMD) $(DOCKER_ARGS) --entrypoint /usr/local/bin/jb docker.io/projectsyn/commodore:latest install
4142

4243
instance ?= defaults

0 commit comments

Comments
 (0)