We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f0566d + 55be476 commit 212ee22Copy full SHA for 212ee22
tools/run_generators.sh
@@ -6,12 +6,12 @@ export LC_ALL=C
6
# Runs the test and context generators.
7
#
8
9
-BASE="$(dirname $0)"
+PROJECT_ROOT=$(dirname $(dirname $(readlink -m $0)))
10
11
-echo "Using base dir: $BASE"
12
-cd $BASE
+echo "Using base dir: ${PROJECT_ROOT}"
+cd ${PROJECT_ROOT}
13
14
-php ContextGenerator.php contexts/ ../src/Contexts
15
-php TestGenerator.php ../tests/data ../tests/data
+php tools/ContextGenerator.php tools/contexts/ src/Contexts
+php tools/TestGenerator.php tests/data tests/data
16
17
echo "Done."
0 commit comments