Compare commits

...

2 Commits

Author SHA1 Message Date
144f7bb644 CAPITAL LETTERS
All checks were successful
Build / build (push) Successful in 14s
2026-02-04 19:06:21 +00:00
9b238d2f8e ignore BUILD 2026-02-04 18:58:36 +00:00
2 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
.vscode/
.DS_Store
build/
BUILD/
dist-dos/
*.obj
*.OBJ

16
make-dos-zip.sh Normal file → Executable file
View File

@ -20,7 +20,7 @@ set -euo pipefail
VERSION="${1:-$(date +%Y%m%d)}"
ZIP_NAME="cnotes-v${VERSION}-dos.zip"
BUILD_DIR="build"
BUILD_DIR="BUILD"
DIST_DIR="dist-dos"
# Colors
@ -32,12 +32,12 @@ echo -e "${GREEN}Packaging DOS release: ${ZIP_NAME}${NC}"
# 1. Check required files exist in build/
REQUIRED_FILES=(
"cnadd.exe"
"cndump.exe"
"cncount.exe"
"cndel.exe"
"cnfind.exe"
"cnhelp.exe"
"CNADD.EXE"
"CNDUMP.EXE"
"CNCOUNT.EXE"
"CNDEL.EXE"
"CNFIND.EXE"
"CNHELP.EXE"
"INSTALL.BAT"
"READ-DOS.TXT"
)
@ -63,7 +63,7 @@ mkdir -p "${DIST_DIR}"
# 3. Copy files to staging
echo "Staging files..."
cp "${BUILD_DIR}"/*.exe "${DIST_DIR}"/
cp "${BUILD_DIR}"/*.EXE "${DIST_DIR}"/
cp "${BUILD_DIR}/INSTALL.BAT" "${DIST_DIR}"/
cp "$$ {BUILD_DIR}/READ-DOS.TXT" " $${DIST_DIR}"/ 2>/dev/null || {
echo -e "$$ {RED}Warning: READ-DOS.TXT not found in build/ (optional but recommended) $${NC}"