Rename spec/ submodule to specs/

Update tests for the new specs folder hierarchy
This commit is contained in:
southerntofu 2022-02-23 23:51:56 +01:00
parent 47ee90cd54
commit f11ae90a01
4 changed files with 6 additions and 6 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "spec"]
path = spec
url = https://tildegit.org/forge/endpoints
[submodule "specs"]
path = specs
url = https://tildegit.org/forge/specs

View File

@ -4,7 +4,7 @@ SCRIPTDIR="$(dirname "$0")"
BASEDIR="$(realpath "$SCRIPTDIR"/..)"
ORIGDIR="$(pwd)"
if [ ! -f "$BASEDIR"/spec/test_cli.sh ]; then
if [ ! -f "$BASEDIR"/specs/forgecheck/test.sh ]; then
echo "Submodule not cloned yet. Doing it now"
cd "$BASEDIR"
git submodule init
@ -18,7 +18,7 @@ fi
# Otherwise it may contain build error messages
executable="$("$BASEDIR"/bin/cli)"
if [ $? -eq 0 ]; then
"$BASEDIR"/spec/test_cli.sh "$executable"
"$BASEDIR"/specs/forgecheck/test.sh "$executable"
status=$?
else
status=1

1
spec

@ -1 +0,0 @@
Subproject commit 2f3d4dd03e68c51f5d93fa0e18fb95454f62c5df

1
specs Submodule

@ -0,0 +1 @@
Subproject commit e6830b3eed75c055f10720c518cf442bc581ed3f