Skip to content

Commit 1a2be88

Browse files
committed
fix make test
1 parent a4f41e4 commit 1a2be88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ UI_GUIDE_DIR ?= $(ROOT_DIR)/ui-guide
1313
CLEAN_DEPS :=
1414
BUILD_DEPS := build-ui
1515
DEPS := $(BUILD_DIR)/.deps
16-
FIND_SRC_FILES_ARGS := \( -name '*.purs' -o -name '*.js' \) -type f
16+
FIND_SRC_FILES_ARGS := -name '*.purs' -type f
1717
NODE_MODULES := $(ROOT_DIR)/node_modules/.stamp
1818
PACKAGE_JSON := $(ROOT_DIR)/package.json
1919
PSA_ARGS ?= --censor-lib --stash=$(BUILD_DIR)/.psa_stash --is-lib=.spago --strict --censor-codes=UserDefinedWarning
@@ -80,7 +80,7 @@ $(OUTPUT_DIR)/Main/index.js: $(DEPS) $(SRC_FILES) $(UI_GUIDE_FILES)
8080
$(NPX) psa $(PSA_ARGS) $(RTS_ARGS) $(shell cat $(DEPS)) $(UI_GUIDE_FILES)
8181

8282
$(OUTPUT_DIR)/Test.Main/index.js: $(DEPS) $(SRC_FILES) $(TEST_FILES)
83-
$(NPX) psa $(PSA_ARGS) $(RTS_ARGS) $(shell cat $(DEPS)) $(TEST_FILES)
83+
$(NPX) psa $(PSA_ARGS) $(RTS_ARGS) $(shell cat $(DEPS))
8484

8585
.PHONY: build
8686
build: $(BUILD_DEPS) ## Build everything — all the CSS, and the UI Guide — installing any missing dependencies along the way

0 commit comments

Comments
 (0)