mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-05 03:03:26 +00:00
Merge pull request #247 from status-im/WSL
Makefile: workaround for Windows 10 with WSL enabled
This commit is contained in:
commit
00b22ec1a9
4
Makefile
4
Makefile
@ -29,8 +29,10 @@ deps: | sanity-checks
|
||||
build:
|
||||
mkdir $@
|
||||
|
||||
# Windows 10 with WSL enabled, but no distro installed, fails if "../../nimble.sh" is executed directly
|
||||
# in a Makefile recipe but works when prefixing it with `bash`. No idea how the PATH is overridden.
|
||||
test: | build deps
|
||||
../../nimble.sh test $(NIM_PARAMS)
|
||||
bash ../../nimble.sh test $(NIM_PARAMS)
|
||||
|
||||
$(TOOLS): | build deps
|
||||
for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user