realm / jazzy

Soulful docs for Swift & Objective-C
https://realm.io
MIT License
7.35k stars 413 forks source link

BUILD_DIR to xcodebuild_arguments in .jazzy.yml #1297

Closed totokit4 closed 2 years ago

totokit4 commented 2 years ago

I want to add BUILD_DIR to xcodebuild_arguments. I wrote the following in .jazzy.yml, but it doesn't work.

min_acl: public
clean: true
output: docs
author: toto
module: Sample
skip_undocumented: false
module_version: 1.0
theme: apple
xcodebuild_arguments:
- -target
- Sample
- ONLY_ACTIVE_ARCH=NO
- -configuration
- Release
- -sdk
- iphoneos
- BUILD_DIR=${BUILD_DIR}
- BUILD_ROOT=${BUILD_ROOT}
- clean
- build

Is there a problem with my writing? Or does jazz have this feature?

johnfairh commented 2 years ago

It looks like there's no support for expanding environment variables using shell syntax in yaml data.

totokit4 commented 2 years ago

Thank you for answering