Skip to content

Commit 67db428

Browse files
authored
ci(Taskfile): add install and run tasks for local development with auto-reload (#1003)
1 parent 2cb53d3 commit 67db428

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Taskfile.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
version: "3"
22

33
tasks:
4+
5+
install:
6+
desc: Install dependencies for local development
7+
cmds:
8+
- go install github.com/githubnemo/CompileDaemon@v1.4.0
9+
10+
run:
11+
desc: Run the project locally with auto-reload and data race detector
12+
cmds:
13+
- CompileDaemon -build="go build -race" -command="./arduino-create-agent" -graceful-kill=true
14+
415
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml
516
general:cache-dep-licenses:
617
desc: Cache dependency license metadata

0 commit comments

Comments
 (0)