repo: remove broken bump-z/bump-y targets, fix tools/README.md stale fbtest.c row
bump-z/bump-y referenced STARFORTH_VERSION_MAJOR/MINOR/PATCH/STARFORTH_VERSION_STRING fields that never existed in the generated include/version.h, so they could never have worked. Removed rather than fixed since CLAUDE.md already documents hand-editing VERSION/LITHOS_VERSION in Makefile.starkernel as the real convention. tools/README.md documented a fbtest.c that never existed in any commit; replaced with the ttftest.c row that actually matches the tools/ directory. Part of the pre-Artemis closeout pass (FABRIC-2.md Section C). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
e3d4e202e2
commit
b9e8fdc3ae
@@ -483,7 +483,7 @@ CONFDIR = $(PREFIX)/etc/starforth
|
||||
.PHONY: refinement-status refinement-init refinement-phase1 verify-defect refinement-annotate-check refinement-report
|
||||
.PHONY: install uninstall package deb rpm
|
||||
.PHONY: quality compile_commands clang_tidy cppcheck gcc_analyzer
|
||||
.PHONY: FORCE version-info bump-z bump-y build-manifest
|
||||
.PHONY: FORCE version-info build-manifest
|
||||
|
||||
# ==============================================================================
|
||||
# MAIN TARGETS
|
||||
@@ -1172,30 +1172,6 @@ version-info:
|
||||
@echo "Current Version: $(GET_VERSION)"
|
||||
@grep "STARFORTH_VERSION" include/version.h | grep define
|
||||
|
||||
.PHONY: bump-z
|
||||
bump-z:
|
||||
@echo "⬆️ Bumping patch version (z)..."
|
||||
@CURRENT=$$(grep "define STARFORTH_VERSION_PATCH" include/version.h | grep -o '[0-9]\+$$'); \
|
||||
NEW=$$((CURRENT + 1)); \
|
||||
sed -i "s/define STARFORTH_VERSION_PATCH.*/define STARFORTH_VERSION_PATCH $$NEW/" include/version.h; \
|
||||
MAJOR=$$(grep "define STARFORTH_VERSION_MAJOR" include/version.h | grep -o '[0-9]\+$$'); \
|
||||
MINOR=$$(grep "define STARFORTH_VERSION_MINOR" include/version.h | grep -o '[0-9]\+$$'); \
|
||||
sed -i "s/#define STARFORTH_VERSION_STRING.*/#define STARFORTH_VERSION_STRING \"$$MAJOR.$$MINOR.$$NEW\"/" include/version.h; \
|
||||
echo "✓ Version bumped to $$MAJOR.$$MINOR.$$NEW"; \
|
||||
grep "STARFORTH_VERSION" include/version.h | grep define
|
||||
|
||||
.PHONY: bump-y
|
||||
bump-y:
|
||||
@echo "⬆️ Bumping minor version (y) and resetting patch (z=0)..."
|
||||
@MAJOR=$$(grep "define STARFORTH_VERSION_MAJOR" include/version.h | grep -o '^[0-9]\+'); \
|
||||
MINOR=$$(grep "define STARFORTH_VERSION_MINOR" include/version.h | grep -o '[0-9]\+$$'); \
|
||||
NEW_MINOR=$$((MINOR + 1)); \
|
||||
sed -i "s/define STARFORTH_VERSION_MINOR.*/define STARFORTH_VERSION_MINOR $$NEW_MINOR/" include/version.h; \
|
||||
sed -i "s/define STARFORTH_VERSION_PATCH.*/define STARFORTH_VERSION_PATCH 0/" include/version.h; \
|
||||
sed -i "s/#define STARFORTH_VERSION_STRING.*/#define STARFORTH_VERSION_STRING \"$$MAJOR.$$NEW_MINOR.0\"/" include/version.h; \
|
||||
echo "✓ Version bumped to $$MAJOR.$$NEW_MINOR.0"; \
|
||||
grep "STARFORTH_VERSION" include/version.h | grep define
|
||||
|
||||
.PHONY: build-manifest
|
||||
build-manifest: $(BINARY)
|
||||
@echo "📋 Generating BUILD_MANIFEST.json..."
|
||||
|
||||
Reference in New Issue
Block a user