Add FLOGO_BUILD_CMD env var for custom build commands #2

Merged
eliribble merged 1 commit from feature/FLOGO_BUILD_CMD-env-var into main 2026-07-18 13:47:48 +00:00
Member

Adds the FLOGO_BUILD_CMD environment variable so projects that need build tags or other flags can specify a custom build command.

Usage:

export FLOGO_BUILD_CMD="go build -tags tiff ."
flogo

When unset, behavior is unchanged (defaults to go build .).

Closes #1.

Adds the `FLOGO_BUILD_CMD` environment variable so projects that need build tags or other flags can specify a custom build command. **Usage:** ``` export FLOGO_BUILD_CMD="go build -tags tiff ." flogo ``` When unset, behavior is unchanged (defaults to `go build .`). Closes #1.
Flogo previously hardcoded the build command to 'go build .', which doesn't work for projects that need build tags or other flags.

The new FLOGO_BUILD_CMD environment variable lets users override the build command entirely. For example, to build with tags:
  export FLOGO_BUILD_CMD='go build -tags tiff .'

The fallback remains 'go build .' when the env var is not set, so existing users are unaffected.

Also documents FLOGO_BUILD_CMD alongside the existing FLOGO_BIND, FLOGO_UPSTREAM, and FLOGO_UI env vars in README.md.
eliribble approved these changes 2026-07-18 13:47:42 +00:00
eliribble deleted branch feature/FLOGO_BUILD_CMD-env-var 2026-07-18 13:47:48 +00:00
Sign in to join this conversation.
No reviewers
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!2
No description provided.