-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 753 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
VENDOR_SWAGGER_SOURCE ?= "https://api.replicated.com/vendor"
install:
yarn
build:
hugo -v
serve:
hugo serve
index-site:
yarn index-site
index-and-send:
yarn index-and-send
index-and-send-staging:
yarn index-and-send-staging
vendordocs:
rm -f content/docs/reference/vendor-api.md
git checkout content/docs/reference/vendor-api/index.md
find . -name "*vendor-api*" -ls
VENDOR_API="${VENDOR_SWAGGER_SOURCE}" ./vendor.sh
setup:
mkdir -p java
curl -o java/swagger2markup-cli-1.3.1.jar http://central.maven.org/maven2/io/github/swagger2markup/swagger2markup-cli/1.3.1/swagger2markup-cli-1.3.1.jar
curl -o java/swagger2markup-1.3.1.jar http://central.maven.org/maven2/io/github/swagger2markup/swagger2markup/1.3.1/swagger2markup-1.3.1.jar