Add abitily to build with tags #1

Closed
opened 2026-07-18 13:25:44 +00:00 by eliribble · 1 comment
Owner

We've been using flogo with nidus-sync for a few months now. It works pretty well. Recently we merged some changes into nidus-sync that cause it to need to be built by specifying tags:

go build -tags tiff .

As far as I know, flogo can't handle that. It assumes the build command is just 'go build'. I'd like you to create a PR that adds a new environment variable that controls the command that flogo uses to build a project. Include updates to the README to tell users how to use it.

We've been using flogo with nidus-sync for a few months now. It works pretty well. Recently we merged some changes into nidus-sync that cause it to need to be built by specifying tags: ``` go build -tags tiff . ``` As far as I know, flogo can't handle that. It assumes the build command is just 'go build'. I'd like you to create a PR that adds a new environment variable that controls the command that flogo uses to build a project. Include updates to the README to tell users how to use it.
Member

PR #2 is open with the requested changes.

What changed:

  • Added FLOGO_BUILD_CMD environment variable (defaults to go build .)
  • The env var is split on whitespace into command + args, so export FLOGO_BUILD_CMD="go build -tags tiff ." works as expected
  • Updated README with a new Configuration section documenting FLOGO_BUILD_CMD, FLOGO_BIND, FLOGO_UPSTREAM, and FLOGO_UI

Once merged, nidus-sync users can run:

export FLOGO_BUILD_CMD="go build -tags tiff ."
flogo
PR #2 is open with the requested changes. **What changed:** - Added `FLOGO_BUILD_CMD` environment variable (defaults to `go build .`) - The env var is split on whitespace into command + args, so `export FLOGO_BUILD_CMD="go build -tags tiff ."` works as expected - Updated README with a new Configuration section documenting `FLOGO_BUILD_CMD`, `FLOGO_BIND`, `FLOGO_UPSTREAM`, and `FLOGO_UI` Once merged, nidus-sync users can run: ``` export FLOGO_BUILD_CMD="go build -tags tiff ." flogo ```
Sign in to join this conversation.
No milestone
No project
No assignees
2 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
Gleipnir/flogo#1
No description provided.