diff --git a/.github/workflows/ci-nimbus.yml b/.github/workflows/ci-nimbus.yml index ac8e038..94b6164 100644 --- a/.github/workflows/ci-nimbus.yml +++ b/.github/workflows/ci-nimbus.yml @@ -3,6 +3,7 @@ on: push: paths: - atlas.lock + - .github/workflows/ci-nimbus.yml jobs: build: diff --git a/Makefile b/Makefile index fe7e9ae..7f018c4 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ LINK_PCRE := 0 ifeq ($(NIM_PARAMS),) # "variables.mk" was not included, so we update the submodules. -GIT_SUBMODULE_UPDATE := nimble install https://github.com/elcritch/atlas && atlas rep atlas.lock +GIT_SUBMODULE_UPDATE := nimble install https://github.com/elcritch/atlas && atlas rep --noexec atlas.lock .DEFAULT: +@ echo -e "Git submodules not found. Running '$(GIT_SUBMODULE_UPDATE)'.\n"; \ $(GIT_SUBMODULE_UPDATE); \ @@ -45,6 +45,11 @@ else # "variables.mk" was included. Business as usual until the end of this file # default target, because it's the first one that doesn't start with '.' +# Builds the codex binary +all: | build deps + echo -e $(BUILD_MSG) "$@" && \ + $(ENV_SCRIPT) nim test $(NIM_PARAMS) + # must be included after the default target -include $(BUILD_SYSTEM_DIR)/makefiles/targets.mk