insert buildinfo at compile time #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: milarin/gocc#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Use ldflags to insert compile time data
adding custom data at compile data
fill fields in buildinfo with data
Let
gocc
retrieve all data:ProjectName
variablegit log -n 1 --pretty="format:%(describe:tags)"
(might be null if no tag available)git log -n 1 --pretty="format:%H"
time.Now()
make variable paths for
ldflags
arguments customizable so that the usage of buildinfo is not forced