- Support tuple argument: grid.at((x, y)) - Support keyword arguments: grid.at(x=5, y=3) - Support pos keyword: grid.at(pos=(2, 8)) - Maintain backward compatibility with grid.at(x, y) - Add comprehensive error handling for invalid arguments Improves API ergonomics and Python-like flexibility 🤖 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}" |