consistent usage across the file
This commit is contained in:
parent
83e79fffd6
commit
6e760b70ce
12
README.md
12
README.md
|
@ -69,18 +69,18 @@ And add the following `Run script` build phase to your test target's `Build Phas
|
|||
```Bash
|
||||
# Define output file. Change "${PROJECT_DIR}/${PROJECT_NAME}Tests" to your test's root source folder, if it's not the default name.
|
||||
OUTPUT_FILE="${PROJECT_DIR}/${PROJECT_NAME}Tests/GeneratedMocks.swift"
|
||||
echo "Generated Mocks File = $OUTPUT_FILE"
|
||||
echo "Generated Mocks File = ${OUTPUT_FILE}"
|
||||
|
||||
# Define input directory. Change "${PROJECT_DIR}/${PROJECT_NAME}" to your project's root source folder, if it's not the default name.
|
||||
INPUT_DIR="${PROJECT_DIR}/${PROJECT_NAME}"
|
||||
echo "Mocks Input Directory = $INPUT_DIR"
|
||||
echo "Mocks Input Directory = ${INPUT_DIR}"
|
||||
|
||||
# Generate mock files, include as many input files as you'd like to create mocks for.
|
||||
"${PODS_ROOT}/Cuckoo/run" generate --testable "$PROJECT_NAME" \
|
||||
"${PODS_ROOT}/Cuckoo/run" generate --testable "${PROJECT_NAME}" \
|
||||
--output "${OUTPUT_FILE}" \
|
||||
"$INPUT_DIR/FileName1.swift" \
|
||||
"$INPUT_DIR/FileName2.swift" \
|
||||
"$INPUT_DIR/FileName3.swift"
|
||||
"${INPUT_DIR}/FileName1.swift" \
|
||||
"${INPUT_DIR}/FileName2.swift" \
|
||||
"${INPUT_DIR}/FileName3.swift"
|
||||
# ... and so forth, the last line should never end with a backslash
|
||||
|
||||
# After running once, locate `GeneratedMocks.swift` and drag it into your Xcode test target group.
|
||||
|
|
Loading…
Reference in New Issue