Skip to content

Commit

Permalink
add dev:local cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
HolbyFPV committed Dec 1, 2024
1 parent 0ef92ee commit f5783b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ npm i -g pnpm
# Install dependencies.
pnpm i

# Start in development mode.
# Start in development mode. (config: /zebar/examples/)
pnpm dev


# Start in development mode. (config: ~/.glz/zebar/)
pnpm dev:local
```

After making your changes, push to your fork and [submit a pull request](https://github.com/glzr-io/zebar/pulls). Please try to address only a single feature or fix in the PR so that it's easy to review.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"build": "pnpm run -r build",
"dev": "pnpm run --filter zebar build && pnpm run --parallel dev",
"dev:local": "pnpm run --filter zebar build && pnpm run --parallel dev:local",
"format": "prettier --write . && pnpm run -r format",
"lint": "prettier --check . && pnpm run -r lint"
},
Expand Down
1 change: 1 addition & 0 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"build": "npm run tauri build -- --verbose",
"dev": "npm run tauri dev -- -- -- startup --config-dir=../../examples",
"dev:local": "npm run tauri dev -- -- -- startup",
"format": "cargo fmt",
"lint": "cargo fmt --check",
"tauri": "tauri"
Expand Down

0 comments on commit f5783b9

Please sign in to comment.