Skip to content

Commit 9f7bce0

Browse files
Alter "preview" task within the Makefile to add local path to the HTML version of the documentation for easier pick-up / preview
1 parent cde7981 commit 9f7bce0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ build: src node_modules
1212
docker run -it --init --rm -v $(PWD):/code -w /code node:9 npm run build
1313

1414
preview: build
15-
docker run -it --init --rm -v $(PWD):/code -w /code apiaryio/client preview --path=/code/apiary.apib --output=/code/apiary.html
15+
docker run -it --init --rm -v $(PWD):/code -w /code apiaryio/client preview --path=/code/apiary.apib --output=/code/apiary.html && \
16+
echo "\nView documentation at file://$(PWD)/apiary.html"
1617

1718
watch: node_modules
1819
docker run -it --init --rm -v $(PWD):/code -w /code node:9 npm run watch

0 commit comments

Comments
 (0)