From 7aa36fc18b98e38d97724639dd46eb0058a70a52 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sat, 28 Oct 2017 12:14:16 +0300 Subject: [PATCH] Fix script based on Miikka's comments --- lein-modules | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lein-modules b/lein-modules index f9fe5708..feab8f2e 100755 --- a/lein-modules +++ b/lein-modules @@ -1,14 +1,8 @@ #!/bin/bash -# A script that walks the tree of Leiningen projects and does $* on them -# original: https://github.com/juxt/yada/blob/master/treelein - set -e # Modules -for ext in reitit-core reitit-ring; do - cd modules/$ext; lein $@; cd ../..; +for ext in reitit-core reitit-ring reitit-spec reitit; do + cd modules/$ext; lein "$@"; cd ../..; done - -# Core -lein $@