make clean doesn't clean properly #335

Open
opened 2021-03-04 18:55:27 +00:00 by noerw · 0 comments
Member
  1. make some changes
  2. make install (it will rebuild properly)
  3. git stash
  4. make clean
  5. make install (it will just re-link the binary, but still create the old build.

I think this is because make clean does not clean the build cache (~/.cache/go-build), because it thinks the unchanged files are older..?
fyi: my repo is in $GOPATH/src/code.gitea.io/tea, does this matter?

1. make some changes 2. `make install` (it will rebuild properly) 3. `git stash` 4. `make clean` 5. `make install` (it will just re-link the binary, but still create the old build. I think this is because `make clean` does not clean the build cache (`~/.cache/go-build`), because it thinks the unchanged files are older..? fyi: my repo is in `$GOPATH/src/code.gitea.io/tea`, does this matter?
noerw added the
kind
question
kind/build
labels 2021-03-04 18:55:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#335
No description provided.