From 03eb5139a20547c5f41db9ad15cf997842cf6f09 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Fri, 8 Sep 2017 10:28:03 +0200 Subject: [PATCH] Anonymize contributing doc --- CONTRIBUTING.md | 8 ++++---- generate.go | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 916c81b16..660cb672a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ Step 0 : FROM golang:1.9-alpine ---> 8c6473912976 Step 1 : RUN go get github.com/Masterminds/glide [...] -docker run --rm -v "/var/run/docker.sock:/var/run/docker.sock" -it -e OS_ARCH_ARG -e OS_PLATFORM_ARG -e TESTFLAGS -v "/home/emile/dev/go/src/github.com/containous/traefik/"dist":/go/src/github.com/containous/traefik/"dist"" "traefik-dev:no-more-godep-ever" ./script/make.sh generate binary +docker run --rm -v "/var/run/docker.sock:/var/run/docker.sock" -it -e OS_ARCH_ARG -e OS_PLATFORM_ARG -e TESTFLAGS -v "/home/user/go/src/github.com/containous/traefik/"dist":/go/src/github.com/containous/traefik/"dist"" "traefik-dev:no-more-godep-ever" ./script/make.sh generate binary ---> Making bundle: generate (in .) removed 'gen.go' @@ -108,7 +108,7 @@ integration test using the `test-integration` target. $ make test-unit docker build -t "traefik-dev:your-feature-branch" -f build.Dockerfile . # […] -docker run --rm -it -e OS_ARCH_ARG -e OS_PLATFORM_ARG -e TESTFLAGS -v "/home/vincent/src/github/vdemeester/traefik/dist:/go/src/github.com/containous/traefik/dist" "traefik-dev:your-feature-branch" ./script/make.sh generate test-unit +docker run --rm -it -e OS_ARCH_ARG -e OS_PLATFORM_ARG -e TESTFLAGS -v "/home/user/go/src/github/containous/traefik/dist:/go/src/github.com/containous/traefik/dist" "traefik-dev:your-feature-branch" ./script/make.sh generate test-unit ---> Making bundle: generate (in .) removed 'gen.go' @@ -140,7 +140,7 @@ More: https://labix.org/gocheck - Tests can be run from the cloned directory, by `$ go test ./...` which should return `ok` similar to: ``` -ok _/home/vincent/src/github/vdemeester/traefik 0.004s +ok _/home/user/go/src/github/containous/traefik 0.004s ``` ## Documentation @@ -159,7 +159,7 @@ pip 1.5.2 Then install mkdocs with pip ```shell -$ pip install mkdocs +pip install --user -r requirements.txt ``` To test documentation locally run `mkdocs serve` in the root directory, this should start a server locally to preview your changes. diff --git a/generate.go b/generate.go index f922492f2..f9b20d7d0 100644 --- a/generate.go +++ b/generate.go @@ -1,7 +1,3 @@ -/* -Copyright -*/ - //go:generate rm -vf autogen/gen.go //go:generate mkdir -p static //go:generate go-bindata -pkg autogen -o autogen/gen.go ./static/... ./templates/...