Skip to content

Commit

Permalink
[all] update tangle-all.sh & tangle-module.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Mar 16, 2015
1 parent 3d5c313 commit 62a3f79
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
21 changes: 13 additions & 8 deletions tangle-all.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/sh
./tangle.sh \
src/*.org \
geom-core/src/*.org geom-core/test/*.org \
geom-types/src/*.org geom-types/test/*.org \
geom-meshops/src/*.org geom-meshops/test/*.org \
geom-physics/src/*.org geom-physics/test/*.org \
geom-svg/src/*.org geom-svg/test/*.org \
geom-webgl/src/*.org geom-webgl/test/*.org

readonly MODULES="core types meshops physics svg webgl"
FILES="src/index.org"

for m in $MODULES; do
MODULE="geom-$m"
SRC="$MODULE/src/*.org $MODULE/test/*.org $MODULE/bench/*.org"
for f in `ls $SRC`; do
FILES="$FILES $f"
done
done

#echo $FILES
./tangle.sh $FILES
2 changes: 1 addition & 1 deletion tangle-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DIR=`pwd`
FILES=""
SRC="geom-$1/src/*.org geom-$1/test/*.org"
SRC="geom-$1/src/*.org geom-$1/test/*.org geom-$1/bench/*.org"

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

0 comments on commit 62a3f79

Please sign in to comment.