Add init task (#1681)

Add init task to initialize the dev environment
This commit is contained in:
Evan Simkowitz 2025-01-04 23:18:31 -05:00 committed by GitHub
parent 2d11ac439c
commit d2802ad297
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View File

@ -103,6 +103,14 @@ or
git clone https://github.com/wavetermdev/waveterm.git
```
## Install code dependencies
The first time you clone the repo, you'll need to run the following to load the dependencies. If you ever have issues building the app, try running this again:
```sh
task init
```
## Build and Run
All the methods below will install Node and Go dependencies when they run the first time. All these should be run from within the Git repository.

View File

@ -321,6 +321,13 @@ tasks:
- task: dev:cleardata:linux
- task: dev:cleardata:macos
init:
desc: Initialize the project for development.
cmds:
- yarn
- go mod tidy
- cd docs && yarn
dev:cleardata:windows:
internal: true
platforms: [windows]