Skip to content

Commit f84cbb7

Browse files
[PATCH] Fix for cross-plaform import path support (- WIP #79 -)
1 parent c8f329f commit f84cbb7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ endif
107107
# Define environment-specific flags
108108
ifeq ($(shell uname -s), Darwin)
109109
PIP_ENV_FLAGS := --break-system-packages
110+
INCLUDE_PATH = includes/fetch-test-reporter/tools-fetch-test-reporter.make
111+
else ifeq ($(shell uname -s), Linux)
112+
INCLUDE_PATH = includes/fetch-test-reporter/tools-fetch-test-reporter.make
110113
else
114+
INCLUDE_PATH = includes\fetch-test-reporter\tools-fetch-test-reporter.make
111115
PIP_ENV_FLAGS :=
112116
endif
113117

@@ -148,7 +152,8 @@ ifeq "$(RMDIR)" ""
148152
RMDIR=$(RM)Rd
149153
endif
150154

151-
include includes/fetch-test-reporter/tools-fetch-test-reporter.make
155+
# Include the makefile
156+
include $(INCLUDE_PATH)
152157

153158
.PHONY: all clean test cleanup init help clean-docs must_be_root must_have_flake must_have_pytest uninstall cleanup-dev-backups
154159

0 commit comments

Comments
 (0)