You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pants allows setting custom configuration file via PANTS_CONFIG_FILES env variable, and it works fine for me when I call pants directly (e.g. /.pants compile), but doesn't affect anything when building project in IDEA ('Pants/Compile all targets in project' action).
Looking at the plugin code I didn't find any mentions of neither PANTS_CONFIG_FILES nor --pants-config-files, so I assume there's no support for this, or maybe I'm missing something?
Anyway if it is indeed not implemented yet I'd be happy to help and contribute!
The text was updated successfully, but these errors were encountered:
we are currently using the default pants.toml file for our normal dev flow, so we never encountered this issue. But IntelliJ should pass all environment variables that are present at runtime to the pants binary. Can you try setting them globally on your machine and see if this works?
Otherwise, we might want to introduce a new setting when importing a project, that allows you to set the default config (or any explicit environment variables).
Pants allows setting custom configuration file via
PANTS_CONFIG_FILES
env variable, and it works fine for me when I call pants directly (e.g./.pants compile
), but doesn't affect anything when building project in IDEA ('Pants/Compile all targets in project' action).Looking at the plugin code I didn't find any mentions of neither
PANTS_CONFIG_FILES
nor--pants-config-files
, so I assume there's no support for this, or maybe I'm missing something?Anyway if it is indeed not implemented yet I'd be happy to help and contribute!
The text was updated successfully, but these errors were encountered: