mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
Fix script based on Miikka's comments
This commit is contained in:
parent
460ba5ecc0
commit
7aa36fc18b
1 changed files with 2 additions and 8 deletions
10
lein-modules
10
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 $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue