You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Clone the ycrash-agent repository in your MacOS machine.
9
+
2. Go to ```ycrash-agent/yc``` directory and execute the below command to compile and build yCrash agent.
10
+
11
+
```
12
+
go build
13
+
```
14
+
3. Once the build is completed, you will find ```yc.sh``` file under ```ycrash-agent/yc``` directory.
15
+
16
+
You can find different yCrash agent arguments in the [official documentation](https://docs.ycrash.io/ycrash-agent/all-agent-arguments.html#all-arguments).
7. Go to ```/opt/workspace/yc-agent-repo/ycrash-agent/yc``` directory and run the below command command to compile and build the yCrash agent
60
+
61
+
```
62
+
go build -a -ldflags "-linkmode external -extldflags '-static' -s -w"
63
+
```
64
+
9. Once the build is completed, you will find ```yc.sh``` file inside ```/opt/workspace/yc-agent-repo/ycrash-agent/yc``` directory.
65
+
66
+
You can find different yCrash agent arguments in the [official documentation](https://docs.ycrash.io/ycrash-agent/all-agent-arguments.html#all-arguments).
0 commit comments