-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample.par.yaml
More file actions
29 lines (23 loc) · 951 Bytes
/
example.par.yaml
File metadata and controls
29 lines (23 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Example .par.yaml configuration file
# Place this file in your repository root to customize par initialization
initialization:
include:
- .env
commands:
# Example: Install frontend dependencies
- name: "Install frontend dependencies"
command: "cd frontend && pnpm install"
# Example: Setup environment file in frontend directory
- name: "Setup environment file"
command: "cd frontend && echo 'VITE_API_URL=http://localhost:3000' > .env"
# Example: Install backend dependencies
- name: "Install backend dependencies"
command: "cd backend && uv sync"
# Example: Run a command from repository root
- name: "Show repository status"
command: "git status"
# Example: Build frontend
- name: "Build frontend"
command: "cd frontend && npm run build"
# Note: All commands start from the worktree root directory
# Use 'cd <directory> &&' to run commands in subdirectories