mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 21:24:50 -05:00
15 lines
295 B
Text
15 lines
295 B
Text
|
#!/bin/bash
|
||
|
set -e;
|
||
|
|
||
|
COFFEE=node_modules/.bin/coffee
|
||
|
|
||
|
echo Compiling test/unit/coffee;
|
||
|
$COFFEE -o test/unit/js -c test/unit/coffee;
|
||
|
|
||
|
for dir in modules/*;
|
||
|
do
|
||
|
if [ -d $dir/test/unit ]; then
|
||
|
echo Compiling $dir/test/unit/coffee;
|
||
|
$COFFEE -o $dir/test/unit/js -c $dir/test/unit/coffee;
|
||
|
fi
|
||
|
done
|