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