mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 08:42:19 +00: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
|