Fix script based on Miikka's comments

This commit is contained in:
Tommi Reiman 2017-10-28 12:14:16 +03:00
parent 460ba5ecc0
commit 7aa36fc18b

View file

@ -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 $@