heroku-buildpack-go icon indicating copy to clipboard operation
heroku-buildpack-go copied to clipboard

Custom build tags

Open ORBAT opened this issue 4 years ago • 1 comments

Are custom build tags / constraints possible?

The previous issue about this (#365) was closed as it was resolved without actually needing custom build tags, but I've got a case where I'd need to include build tags so that I can enable features in one of my (external) dependencies.

ORBAT avatar Dec 14 '20 17:12 ORBAT

+1 this request. For my case, I need to be able to enable some extensions in go-sqlite3: https://github.com/mattn/go-sqlite3?tab=readme-ov-file#feature--extension-list

I hardcoded the tags in https://github.com/matthewmueller/heroku-buildpack-go, but it'd be great for this to land upstream.

Happy to open a PR if helpful.

matthewmueller avatar Jan 07 '24 05:01 matthewmueller