Move all scripts to root

This commit is contained in:
Teajey 2025-08-26 20:11:26 +09:00
parent abb9c54036
commit eae0a7e0e3
Signed by: Teajey
GPG Key ID: 970E790FE834A713
5 changed files with 5 additions and 7 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
go doc -all | ./scripts/strip_godoc_comments

3
scripts/api_snapshot Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
go doc -all $1 | ./scripts/strip_godoc_comments

View File

@ -1,11 +1,9 @@
#!/bin/sh
cd core/
APISNAP=api.snap.txt
./scripts/api_snapshot > $APISNAP
git diff --quiet $APISNAP
./scripts/api_snapshot lishwist/core > core/$APISNAP
git diff --quiet core/$APISNAP
if [[ $? -ne 0 ]]; then
echo "There are unstaged changes to $APISNAP"