Skip to content

Commit a8d97b9

Browse files
committed
Fix Issue 17649 - CONTRIBUTING.md instructions failed (no ../druntime dir)
1 parent 1904e32 commit a8d97b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

posix.mak

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ DMD_STABLE=$(DMD_STABLE_DIR)/generated/$(OS)/release/$(MODEL)/dmd
4646
DRUNTIME_STABLE_DIR=${DRUNTIME_DIR}-${LATEST}
4747
PHOBOS_STABLE_DIR=${PHOBOS_DIR}-${LATEST}
4848

49+
# Auto-closing missing directories
50+
$(shell [ ! -d $(DMD_DIR) ] && git clone --depth=1 ${GIT_HOME}/dmd $(DMD_DIR))
51+
$(shell [ ! -d $(DRUNTIME_DIR) ] && git clone --depth=1 ${GIT_HOME}/druntime $(DRUNTIME_DIR))
52+
4953
################################################################################
5054
# Automatically generated directories
5155
GENERATED=.generated

0 commit comments

Comments
 (0)