Clone
7
Home
Javier Cicchelli edited this page 2023-08-13 22:27:39 +00:00

The content of the environment files used in this project is being defined in this page, as it is not possible to upload files to this wiki.

In case of doubt, these files must be located at the root of the projecy and, of course, they should not included into the repository, as it is not recommended to put any credentials into the repo itself.

.env

# Command line
CLI_USE_DOCKER=no

# Documentation
## Github
DOCC_GITHUB_BASE_PATH=swift-libs/${DOCC_GITHUB_LIBRARY}
DOCC_GITHUB_BASE_URL=https://rock-n-code.github.io/${DOCC_GITHUB_BASE_PATH}/documentation/swiftlibs
DOCC_GITHUB_DIRECTORY=./docs
DOCC_GITHUB_INDEX=./docs/index.html
DOCC_GITHUB_LIBRARY=swift-libs-${SWIFT_TARGET_COMPONENT}
DOCC_GITHUB_OUTPUT=${DOCC_GITHUB_DIRECTORY}/${DOCC_GITHUB_LIBRARY}

## Preview
DOCC_PREVIEW_URL=http://localhost:8080/documentation/swiftlibs

## Xcode 
DOCC_XCODE_DIRECTORY=./Documents
DOCC_XCODE_OUTPUT=${DOCC_XCODE_DIRECTORY}/${SWIFT_TARGET_NAME}.doccarchive

# Docker
DOCKER_IMAGE_CLEAN=yes
DOCKER_IMAGE_NAME=swift
DOCKER_IMAGE_TAG=latest
DOCKER_IMAGE_PLATFORM=linux/arm64/v8
DOCKER_VOLUME_TARGET=/package

# Swift
SWIFT_BUILD_CONFIGURATION=debug
SWIFT_TARGET_NAME=SwiftLibs
SWIFT_TARGET_COMPONENT=