@techgoblin/gobstack 0.5.0-beta.6 → 0.5.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/goblin-init +4 -1
- package/bin/goblin-verify +11 -1
- package/docs/GUIDE.md +2 -1
- package/package.json +1 -1
package/bin/goblin-init
CHANGED
|
@@ -752,7 +752,10 @@ elif [ "$DRYRUN" -eq 0 ]; then
|
|
|
752
752
|
if [ "$VERIFY_RC" -eq 0 ]; then
|
|
753
753
|
printf ' %s▙ the goblin sees you. keep the gate green.%s\n' "$C_ACCENT" "$C_RESET"
|
|
754
754
|
else
|
|
755
|
-
|
|
755
|
+
# Red runs end on the concrete first command, not the mascot: the day-one verdict IS the
|
|
756
|
+
# FAIL list, and the first row's remedy line is the thing to act on (UX minor polish —
|
|
757
|
+
# the "the goblin sees you" sign-off stays a green-run line only).
|
|
758
|
+
printf ' %sstart with the first FAIL above — its remedy line says the fix.%s\n' "$C_RED" "$C_RESET"
|
|
756
759
|
fi
|
|
757
760
|
fi
|
|
758
761
|
|
package/bin/goblin-verify
CHANGED
|
@@ -268,7 +268,17 @@ if [ -n "$ONLY" ]; then
|
|
|
268
268
|
fi
|
|
269
269
|
|
|
270
270
|
if [ ! -f "$CONFIG" ]; then
|
|
271
|
-
|
|
271
|
+
# Not installed. When PWD is not the target's own project root, the FIRST suggestion is to
|
|
272
|
+
# go to the repo you meant, and the install command is named second WITH its target spelled
|
|
273
|
+
# out — an out-of-context `goblin-install --target $PWD` is how a scratch directory gets
|
|
274
|
+
# initialized by accident (review 2 §1.6). Exit stays 2.
|
|
275
|
+
if [ "$ROOT" != "$PWD" ]; then
|
|
276
|
+
g_err "not installed: $CONFIG is absent — and $PWD is not the installed repo ($ROOT)."
|
|
277
|
+
g_err "fix: cd to your project repo, then re-run gob verify."
|
|
278
|
+
g_err " (installing here would initialize $PWD: goblin-install --target $PWD --class <software|service|game|research|fleet>)"
|
|
279
|
+
else
|
|
280
|
+
g_err "not installed: $CONFIG is absent. Run: goblin-install --target $ROOT --class <software|service|game|research|fleet>"
|
|
281
|
+
fi
|
|
272
282
|
exit 2
|
|
273
283
|
fi
|
|
274
284
|
|
package/docs/GUIDE.md
CHANGED
|
@@ -83,7 +83,8 @@ You need node ≥ 18 (for the npm shim only), beyond the row above.
|
|
|
83
83
|
npm i -g @techgoblin/gobstack
|
|
84
84
|
|
|
85
85
|
This puts **two** commands on your PATH — `gob` and `goblin`, both the same node shim over the
|
|
86
|
-
bash engine. The docs say `gob` throughout;
|
|
86
|
+
bash engine. The docs say `gob` throughout; `goblin` remains as a legacy alias for existing
|
|
87
|
+
scripts.
|
|
87
88
|
|
|
88
89
|
---
|
|
89
90
|
|
package/package.json
CHANGED