Skip to content

Commit cb91201

Browse files
committed
Merge pull request #452 from arichiardi/makefile-mkbin
Add mkdirs to Makefile in order to generate bin folder
2 parents 8bdefc9 + e813db5 commit cb91201

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ clean:
2828
(cd boot/aether && lein clean)
2929
(cd boot/pod && lein clean)
3030
(cd boot/worker && lein clean)
31+
(rm -Rfv bin)
3132
(rm -fv .installed .deployed .tested)
3233

33-
bin/lein:
34+
mkdirs:
3435
mkdir -p bin
36+
37+
bin/lein: mkdirs
3538
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O bin/lein
3639
chmod 755 bin/lein
3740

38-
bin/boot:
41+
bin/boot: mkdirs
3942
curl -fsSLo bin/boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh
4043
chmod 755 bin/boot
4144

@@ -67,7 +70,7 @@ $(corejar): $(verfile) boot/core/project.clj $(shell find boot/core/src)
6770
$(baseuber): boot/base/pom.xml $(shell find boot/base/src/main)
6871
(cd boot/base && mvn -q assembly:assembly -DdescriptorId=jar-with-dependencies)
6972

70-
.installed: $(basejar) $(alljars)
73+
.installed: mkdirs $(basejar) $(alljars)
7174
cp $(baseuber) $(distjar)
7275
# FIXME: this is just for testing -- remove before release
7376
mkdir -p $$HOME/.boot/cache/bin/$(version)

0 commit comments

Comments
 (0)