This directory contains utility scripts for development, building, and maintenance of the BERT project.
A comprehensive helper script for common BERT development tasks:
# Show help
./scripts/bert.sh help
# Setup development environment
./scripts/bert.sh setup
# Run in development mode
./scripts/bert.sh dev
# Build for production
./scripts/bert.sh build
# Clean build artifacts
./scripts/bert.sh clean
# Run linting tools
./scripts/bert.sh lint
# Generate documentation
./scripts/bert.sh docs
# Run tests
./scripts/bert.sh testWhen adding scripts to this directory:
- Use clear, descriptive names
- Add proper documentation and usage instructions
- Ensure scripts are platform-agnostic when possible
- Include error handling
Organize scripts into subdirectories based on their purpose:
build/- Build-related scriptsdev/- Development environment scriptstest/- Testing automation scriptsdocs/- Documentation generation scripts
For consistency, all scripts should be runnable from the repository root:
# Main helper script
./scripts/bert.sh [command]
# Other scripts
./scripts/build/release.sh