Skip to content

Commit

Permalink
Update godoc command to enable search
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Feb 12, 2019
1 parent 30cb07f commit 3952c1a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,8 @@ shell: $(ensure-build-image)

# run a container with godoc
godoc:
if [ ! -f $(build_path)/.index ]; then \
touch $(build_path)/.index && \
docker run -p 8888:8888 --rm $(common_mounts) -v $(build_path)/.index:/root/.index \
$(build_tag) godoc -http=":8888" -index=true -write_index=true -index_files=/root/.index;\
fi
docker run -p 8888:8888 --rm $(common_mounts) -v $(build_path)/.index:/root/.index \
$(build_tag) godoc -http=":8888" -index=true -index_files=/root/.index
$(build_tag) godoc -http=":8888" -index=true

# Creates the build docker image
build-build-image:
Expand Down

0 comments on commit 3952c1a

Please sign in to comment.