Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Move metalint to a separate build step (and add build step timings) #3285

Closed
wants to merge 1 commit into from
Closed

Conversation

calmh
Copy link
Member

@calmh calmh commented Jun 8, 2016

I run a lot of builds. They're quite slow now:

jb@syno:~/s/g/s/syncthing $ BUILDDEBUG=1 ./build.sh
    ... snipped commands ...
runError: gometalinter --disable-all --deadline=60s --enable=varcheck . ./cmd/... ./lib/...
... in 13.00592726s
... build completed in 15.392265235s

That's 15 s total build time, 13 s of which is the varcheck call. The build server is welcome to run it, but I don't want to on each build. :)

…ings)

I run a lot of builds. They're quite slow now:

    jb@syno:~/s/g/s/syncthing $ BUILDDEBUG=1 ./build.sh
        ... snipped commands ...
    runError: gometalinter --disable-all --deadline=60s --enable=varcheck . ./cmd/... ./lib/...
    ... in 13.00592726s
    ... build completed in 15.392265235s

That's 15 s total build time, 13 s of which is the varcheck call. The
build server is welcome to run it, but I don't want to on each build. :)
@AudriusButkevicius
Copy link
Member

@st-review merge

@st-review
Copy link

👌 Merged as b4e2914. Thanks, @calmh!

st-review pushed a commit that referenced this pull request Jun 8, 2016
…ings)

I run a lot of builds. They're quite slow now:

    jb@syno:~/s/g/s/syncthing $ BUILDDEBUG=1 ./build.sh
        ... snipped commands ...
    runError: gometalinter --disable-all --deadline=60s --enable=varcheck . ./cmd/... ./lib/...
    ... in 13.00592726s
    ... build completed in 15.392265235s

That's 15 s total build time, 13 s of which is the varcheck call. The
build server is welcome to run it, but I don't want to on each build. :)

GitHub-Pull-Request: #3285
@st-review st-review closed this Jun 8, 2016
@calmh calmh deleted the movemetalint branch June 9, 2016 10:25
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jun 16, 2017
@syncthing syncthing locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants