Skip to content

Always build, even when it's up-to-date #351

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

Merged
merged 1 commit into from
Dec 5, 2016
Merged

Conversation

bkcsoft
Copy link
Member

@bkcsoft bkcsoft commented Dec 5, 2016

Currently make build was to be preceded with make clean otherwise it won't build. This is because of how make works internally so AFAIK nothing can be done about that 😒

This PR "fixes" it by ignoring the fact that it's built and always builds

@bkcsoft bkcsoft added topic/deployment type/enhancement An improvement of existing functionality labels Dec 5, 2016
@bkcsoft bkcsoft force-pushed the bkcsoft/always-build branch from 31db75a to afad46f Compare December 5, 2016 14:38
@bkcsoft bkcsoft force-pushed the bkcsoft/always-build branch from afad46f to 63fb812 Compare December 5, 2016 14:40
@tboerger
Copy link
Member

tboerger commented Dec 5, 2016

I'm OK with that, but for sure guys like strk votes against it :)

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Dec 5, 2016
@lunny
Copy link
Member

lunny commented Dec 5, 2016

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 5, 2016
@lunny lunny added this to the 1.0.0 milestone Dec 5, 2016
@strk
Copy link
Member

strk commented Dec 5, 2016

LGTM as I trust "go" to do the right thing about dependencies.
I'm curious though, why doesn't the wildcard trick work ?

@lunny lunny merged commit cd0ce9f into master Dec 5, 2016
@tboerger tboerger deleted the bkcsoft/always-build branch December 5, 2016 15:01
@bkcsoft
Copy link
Member Author

bkcsoft commented Dec 5, 2016

@strk I'm not entirely sure, maybe wildcard only picks what in the current pwd and not recursing down into folders?

@bkcsoft
Copy link
Member Author

bkcsoft commented Dec 5, 2016

@strk Called it! 😆

One use of the wildcard function is to get a list of all the C source files in a directory

https://www.gnu.org/software/make/manual/html_node/Wildcard-Function.html

@bkcsoft bkcsoft mentioned this pull request Dec 5, 2016
@strk
Copy link
Member

strk commented Dec 5, 2016 via email

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/deployment type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants