From 3952c1a4978c2669e2c6118e9c5e3e5072f20241 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Sun, 10 Feb 2019 12:33:20 -0800 Subject: [PATCH] Update godoc command to enable search --- build/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build/Makefile b/build/Makefile index 56eaef3da4..b306d0f74e 100644 --- a/build/Makefile +++ b/build/Makefile @@ -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: