mirror of
https://github.com/apple/swift-crypto
synced 2026-11-24 04:37:48 +00:00
CONTRIBUTING.md CMake checks docs tweaks (#343)
I spotted a couple of very minor docs issues following on from my recent PR when I looked at it with fresh eyes.
This commit is contained in:
1 parent
ced89100e1
commit
05ca26c7dc
1 file changed
+2
-2
+2
-2
@@ -62,12 +62,12 @@ Please open a pull request at https://github.com/apple/swift-crypto. Make sure t
|
||||
|
||||
If you wish to update the CMakeLists files you can either do this by using [act](https://github.com/nektos/act) or calling the remotely hosted CI script.
|
||||
|
||||
Issuing a command such as the following to `act` will cause it to run the `cmake-lists` job locally which updates the CMakeLists files and if it finds no changes will perform a build. The `--bind` flag means that the VM will be acting on your local filesystem so be aware that this could delete/change files (including your git setup/branches).
|
||||
Issuing a command such as the following to `act` causes it to run the `cmake-lists` job locally which updates the CMakeLists files and if it finds no changes performs a build. The `--bind` flag means that the VM be acts on your local filesystem so be aware that this could delete/change files (including your git setup/branches).
|
||||
```
|
||||
act --container-architecture linux/amd64 pull_request -j cmake-lists -W ./.github/workflows/pull_request.yml --bind
|
||||
```
|
||||
|
||||
You can find the underlying script can at https://github.com/apple/swift-nio/blob/main/scripts/update-cmake-lists.sh . Using the script directly is less straightforwards because it requires you to pass the JSON config from the `pull_request.yml` file into the script, such as:
|
||||
You can find the underlying script at https://github.com/apple/swift-nio/blob/main/scripts/update-cmake-lists.sh . Using the script directly is less straightforwards because it requires you to pass the JSON config from the `pull_request.yml` file into the script, such as:
|
||||
```
|
||||
curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/update-cmake-lists.sh | CONFIG_JSON='{"targets":[{"name":"CCryptoBoringSSL","type":"source","exceptions":[]},{"name":"CCryptoBoringSSLShims","type":"source","exceptions":[]},{"name":"CryptoBoringWrapper","type":"source","exceptions":[]},{"name":"Crypto","type":"source","exceptions":[]},{"name":"_CryptoExtras","type":"source","exceptions":[]},{"name":"CCryptoBoringSSL","type":"assembly","exceptions":["*/AES/*.swift"]}]}' bash
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user