Skip to content

Commit eafcb0e

Browse files
committed
Add preview DocC script
1 parent b07f869 commit eafcb0e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

scripts/preview_docc.sh

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
##===----------------------------------------------------------------------===##
4+
##
5+
## This source file is part of the SwiftStatsdClient open source project
6+
##
7+
## Copyright (c) 2022 the SwiftStatsdClient project authors
8+
## Licensed under Apache License v2.0
9+
##
10+
## See LICENSE.txt for license information
11+
## See CONTRIBUTORS.txt for the list of SwiftStatsdClient project authors
12+
##
13+
## SPDX-License-Identifier: Apache-2.0
14+
##
15+
##===----------------------------------------------------------------------===##
16+
17+
##===----------------------------------------------------------------------===##
18+
##
19+
## This source file is part of the Swift Distributed Actors open source project
20+
##
21+
## Copyright (c) 2018-2019 Apple Inc. and the Swift Distributed Actors project authors
22+
## Licensed under Apache License v2.0
23+
##
24+
## See LICENSE.txt for license information
25+
## See CONTRIBUTORS.md for the list of Swift Distributed Actors project authors
26+
##
27+
## SPDX-License-Identifier: Apache-2.0
28+
##
29+
##===----------------------------------------------------------------------===##
30+
31+
xcrun swift package --disable-sandbox preview-documentation --target $1

0 commit comments

Comments
 (0)