Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Create virtual environment if it doesn't exist
|
||||
if [ ! -d "venv" ]; then
|
||||
python3 -m venv venv
|
||||
fi
|
||||
|
||||
# Activate virtual environment
|
||||
source venv/bin/activate
|
||||
|
||||
# Install dependencies
|
||||
pip install -e .
|
||||
|
||||
# Run tests if they exist
|
||||
if [ -d "tests" ]; then
|
||||
python -m unittest discover tests
|
||||
fi
|
||||
|
||||
echo "Build completed successfully!"
|
||||
Reference in New Issue
Block a user