mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #2180 from overleaf/as-clean-up-makefile
Clean up how tests are run in Makefile GitOrigin-RevId: 9b52ead16392cca09bdf7edc4365f10dc468ccf2
This commit is contained in:
committed by
sharelatex
parent
9902edcfbb
commit
082f790fb6
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e;
|
||||
|
||||
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
|
||||
|
||||
$MOCHA "$@" test/unit/src
|
||||
|
||||
for dir in modules/*;
|
||||
do
|
||||
if [ -d $dir/test/unit/src ]; then
|
||||
$MOCHA "$@" $dir/test/unit/src
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e;
|
||||
|
||||
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
|
||||
|
||||
$MOCHA "$@" test/unit/src
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e;
|
||||
|
||||
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
|
||||
MODULE=$1
|
||||
|
||||
shift
|
||||
|
||||
$MOCHA "$@" modules/$MODULE/test/unit/src
|
||||
Reference in New Issue
Block a user