mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
Update Building-Fleet.md (#12345)
Added instructions for installing dependency - Rosetta 2.
This commit is contained in:
parent
517acdad72
commit
b81d182841
1 changed files with 6 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ To generate all necessary code (bundling JavaScript into Go, etc.), run the foll
|
|||
make generate
|
||||
```
|
||||
|
||||
If you are using a Mac computer with Apple Silicon and have not installed Rosetta 2, you will need to do so before running `make generate`.
|
||||
|
||||
```
|
||||
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
|
||||
```
|
||||
|
||||
#### Automatic rebuilding of the JavaScript bundle
|
||||
|
||||
Usually, `make generate` takes the JavaScript code, bundles it into a single bundle via Webpack, and inlines that bundle into a generated Go source file so that all of the frontend code can be statically compiled into the binary. When you build the code after running `make generate`, include all of that JavaScript in the binary.
|
||||
|
|
|
|||
Loading…
Reference in a new issue