Skip to content

Commit 0bdca36

Browse files
committed
Update comments about building DocC.
Now that the build scripts are calling DocC directly, rather than through 'swift package', the DOCC_EXEC environment variable no longer lets you specify which path to look in for the docc executable.
1 parent f9adf35 commit 0bdca36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/publish-book

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Then set environment variables to paths in their working directories,
1919
# like the following, before running this script:
2020
#
21-
# DOCC_EXEC=~/git/DocC/.build/arm64-apple-macosx/debug/docc
21+
# PATH=~/git/DocC/.build/arm64-apple-macosx/debug:$PATH
2222
# DOCC_HTML_DIR=~/git/DocC-Renderer/dist/
2323

2424
set -eu

bin/update-book-preview

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Then set environment variables to paths in their working directories,
2424
# like the following, before running this script:
2525
#
26-
# DOCC_EXEC=~/git/DocC/.build/arm64-apple-macosx/debug/docc
26+
# PATH=~/git/DocC/.build/arm64-apple-macosx/debug:$PATH
2727
# DOCC_HTML_DIR=~/git/DocC-Renderer/dist/
2828

2929
set -eu

0 commit comments

Comments
 (0)