File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
-
2
1
#! /bin/bash
3
2
3
+ set -e
4
+
4
5
# commands to build the widdershins/slate api documentation.
5
6
#
6
7
7
8
build_api_v1 () {
8
9
echo " Building API v1 documentation with Slate"
9
10
cd src-api
10
- bundle exec middleman build --clean
11
+ bundle exec middleman build --clean --verbose
11
12
echo " Output bundled."
12
13
cp -R build/* /tmp/workspace/api
13
14
echo " Output build moved to /tmp/workspace/api"
@@ -19,7 +20,7 @@ build_api_v2() {
19
20
cd src-api; rm -r build; rm source/index.html.md
20
21
curl https://circleci.com/api/v2/openapi.json > openapi.json
21
22
node node_modules/widdershins/widdershins.js --environment widdershins.apiv2.yml --summary openapi.json -o source/index.html.md
22
- bundle exec middleman build --clean
23
+ bundle exec middleman build --clean --verbose
23
24
cp -R build/* /tmp/workspace/api/v2
24
25
echo " Output build moved to /tmp/workspace/api/v2"
25
26
}
@@ -28,7 +29,7 @@ build_api_v2() {
28
29
build_crg () {
29
30
echo " Building Configuration Reference with Slate "
30
31
cd src-crg;
31
- bundle exec middleman build --clean
32
+ bundle exec middleman build --clean --verbose
32
33
echo " CRG bundle built."
33
34
cp -R build/* /tmp/workspace/crg
34
35
echo " CRG Output build moved to /tmp/workspace/crg"
You can’t perform that action at this time.
0 commit comments