Prerequisites
- macOS
- Git
- Homebrew
Setup
git clone https://github.com/YOUR_USERNAME/natilius.git
cd natilius
make dev-setup
This installs bats-core, shellcheck, and pre-commit.
Project Structure
natilius/
├── natilius.sh # Main script
├── install.sh # Installer
├── lib/ # Libraries
├── modules/ # Feature modules
├── profiles/ # Config profiles
├── tests/ # Tests
└── docs/ # Documentation
Workflow
- Create branch:
git checkout -b feature/x - Make changes
- Test:
make test && make lint - Commit:
git commit -m "feat: add x" - Push and PR
Testing
make test # Unit tests
make test-all # All tests
make lint # ShellCheck
make precommit # Pre-commit hooks
Makefile Commands
| Command | Description |
|---|---|
make dev-setup |
Install dev deps |
make test |
Unit tests |
make test-all |
All tests |
make lint |
ShellCheck |
make precommit |
Pre-commit |
make coverage |
Coverage report |