mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
feat: Add setup script for configuring git hooks
This commit is contained in:
@@ -206,6 +206,9 @@ For local development and testing without publishing:
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
bun install
|
bun install
|
||||||
|
|
||||||
|
# Setup git hooks
|
||||||
|
bun run setup
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
bun run build
|
bun run build
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -21,7 +21,8 @@
|
|||||||
"test": "bun test",
|
"test": "bun test",
|
||||||
"coverage": "bun test --coverage",
|
"coverage": "bun test --coverage",
|
||||||
"prepublishOnly": "bun run build",
|
"prepublishOnly": "bun run build",
|
||||||
"release": "bash ./scripts/release.sh"
|
"release": "bash ./scripts/release.sh",
|
||||||
|
"setup": "bash ./scripts/setup.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Setup script for development environment
|
||||||
|
|
||||||
|
echo "Setting up git hooks..."
|
||||||
|
git config core.hooksPath .githooks
|
||||||
|
|
||||||
|
echo "Setup complete!"
|
||||||
Reference in New Issue
Block a user