折腾:
期间,已经知道了carthage的基本命令了:
<code>licrifandeMacBook-Pro:QorosSales crifan$ carthage help Available commands: archive Archives built frameworks into a zip that Carthage can use bootstrap Check out and build the project's dependencies build Build the project's dependencies checkout Check out the project's dependencies copy-frameworks In a Run Script build phase, copies each framework specified by a SCRIPT_INPUT_FILE environment variable into the built app bundle fetch Clones or fetches a Git repository ahead of time help Display general or command-specific help outdated Check for compatible updates to the project's dependencies update Update and rebuild the project's dependencies version Display the current version of Carthage </code>
但是又看到,对于build命令,又有些额外参数:
<code>carthage build --no-skip-current carthage build --platform "$PLATFORM_NAME" "$SRCROOT" </code>
所以想要去搞懂,build的所有的参数,及其含义。
想到了:
估计help后面,加上对应的命令,或许有对应的解释
去试试,果然是:
<code>licrifandeMacBook-Pro:QorosSales crifan$ carthage help build Build the project's dependencies [--configuration (string)] the Xcode configuration to build [--platform (platform)] the platforms to build for (one of ‘all’, ‘Mac’, ‘iOS’, ‘watchOS’, 'tvOS', or comma-separated values of the formers except for ‘all’) [--derived-data (string)] path to the custom derived data folder [--no-skip-current] don't skip building the Carthage project (in addition to its dependencies) [--color (color)] whether to apply color and terminal formatting (one of ‘auto’, ‘always’, or ‘never’) [--verbose] print xcodebuild output inline [--project-directory (string)] the directory containing the Carthage project [[]] the dependency names to build </code>
转载请注明:在路上 » [整理]Carthage命令的语法