Skip to content

Commit

Permalink
Add description of build_args
Browse files Browse the repository at this point in the history
  • Loading branch information
manicmaniac committed Aug 28, 2024
1 parent 75596e2 commit 4cf3280
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ periphery.binary_path = "bin/periphery"
You can pass command line options to `periphery.scan` like the following.
See `periphery scan -h` for available options.

Note that `build_args` option is a special option that does not exist in Periphery but the arguments are passed down to `periphery` after an argument terminator (`--`).

```ruby
periphery.scan(
project: "Foo.xcodeproj",
schemes: ["foo", "bar"],
targets: "foo",
clean_build: true
clean_build: true,
build_args: "-sdk iphonesimulator"
)
```

Expand Down

0 comments on commit 4cf3280

Please sign in to comment.