26 lines
No EOL
459 B
Markdown
26 lines
No EOL
459 B
Markdown
### Tactical RMM Agent
|
|
https://github.com/amidaware/tacticalrmm
|
|
|
|
#### building the agent - linux
|
|
```
|
|
env CGO_ENABLED=0 GOOS=<GOOS> GOARCH=<GOARCH> go build -ldflags "-s -w"
|
|
```
|
|
|
|
#### building the agent - windows
|
|
```
|
|
$env:CGO_ENABLED="0";$env:GOOS="windows";$env:GOARCH="amd64"; go build -ldflags "-s -w"
|
|
```
|
|
|
|
### tests
|
|
Navigate to agent directory
|
|
```
|
|
go test -vet=off
|
|
```
|
|
|
|
Add to settings.json
|
|
```
|
|
"go.testFlags": [
|
|
"-vet=off"
|
|
],
|
|
"go.testTags": "TEST"
|
|
``` |