Adds a release target to makefile #170
No reviewers
Labels
No Label
blocked
bug
build
documentation
duplicate
enhancement
finger
gemini
gopher
help wanted
http
in progress
invalid
local
needs-info
non-code
non-functional
non-urgent
question
release
rendering
suggestion
telnet
terminal
urgent
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sloum/bombadillo#170
Loading…
Reference in New Issue
No description provided.
Delete Branch "make-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I had been using a shell script to do this, but then realized that was stupid: use make! While I break with DRY here, this seems more direct than trying to use make to loop over the available OS and ARCH targets. At least while we only officially support a few platforms.
I have tested this locally and it works well. I also added a step to clean to remove any release files on clean.
I also updated the README to mention that a GNU Make compatible is required to run the Makefile. This had never occured to me until I started using BSD this week... which does not, by default, use GNU Make but instead uses BSD Make. They are not strictly compatible (at least not in their extensions). We use GNU Make extensions (our conditionals and I think some others) so building with the makefile on BSD is out. I felt like that should be mentioned in the README. Anyone using BSD likely knows to use gmake to build it, but they may need to install it (I'm mostly not worried about it as anyone that managed to get a working BSD build on their system will likely be able to figure this out).
In the future I would like to try to get our makefile to work for both if possible. They share compatibility with the core make features, they both just added on incompatible stuff.