Skip to content

Commit

Permalink
[meta] update tangle-module & tangle-all to clear babel/src & babel/t…
Browse files Browse the repository at this point in the history
…est dirs
  • Loading branch information
postspectacular committed May 25, 2015
1 parent 765f6fe commit 3ba44ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tangle-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FILES="src/index.org"
for m in $MODULES; do
MODULE="geom-$m"
SRC="$MODULE/src/*.org $MODULE/test/*.org $MODULE/bench/*.org"
rm -rf $MODULE/babel/src $MODULE/babel/test
for f in `ls $SRC`; do
FILES="$FILES $f"
done
Expand Down
2 changes: 2 additions & 0 deletions tangle-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ DIR=`pwd`
FILES=""
SRC="geom-$1/src/*.org geom-$1/test/*.org geom-$1/bench/*.org"

rm -rf geom-$1/babel/src geom-$1/babel/test

# wrap each argument in the code required to call tangle on it
for i in `ls $SRC`; do
FILES="$FILES \"$i\""
Expand Down

0 comments on commit 3ba44ea

Please sign in to comment.