- Issue #37: Fix Windows scripts subdirectory not checked - Updated executeScript() to use executable_path() from platform.h - Scripts now load correctly when working directory differs from executable - Issue #76: Fix UIEntityCollection returns wrong type - Updated UIEntityCollectionIter::next() to check for stored Python object - Derived Entity classes now preserve their type when retrieved from collections - Issue #9: Recreate RenderTexture when resized (already fixed) - Confirmed RenderTexture recreation already implemented in set_size() and set_float_member() - Uses 1.5x padding and 4096 max size limit - Issue #79: Fix Color r, g, b, a properties return None - Implemented get_member() and set_member() in PyColor.cpp - Color component properties now work correctly with proper validation - Additional fix: Grid.at() method signature - Changed from METH_O to METH_VARARGS to accept two arguments All fixes include comprehensive tests to verify functionality. closes #37, closes #76, closes #9, closes #79 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
No EOL
718 B
Bash
Executable file
33 lines
No EOL
718 B
Bash
Executable file
#!/bin/bash
|
|
# Clean script for McRogueFace - removes build artifacts
|
|
|
|
# Colors for output
|
|
RED='\033[0;31m'
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NC='\033[0m' # No Color
|
|
|
|
echo -e "${YELLOW}Cleaning McRogueFace build artifacts...${NC}"
|
|
|
|
# Remove build directory
|
|
if [ -d "build" ]; then
|
|
echo "Removing build directory..."
|
|
rm -rf build
|
|
fi
|
|
|
|
# Remove CMake artifacts from project root
|
|
echo "Removing CMake artifacts from project root..."
|
|
rm -f CMakeCache.txt
|
|
rm -f cmake_install.cmake
|
|
rm -f Makefile
|
|
rm -rf CMakeFiles
|
|
|
|
# Remove compiled executable from project root
|
|
rm -f mcrogueface
|
|
|
|
# Remove any test artifacts
|
|
rm -f test_script.py
|
|
rm -rf test_venv
|
|
rm -f python3 # symlink
|
|
|
|
echo -e "${GREEN}Clean complete!${NC}" |