Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dependency-path default value to be specified in environment variables. #366

Open
cprussin opened this issue Jan 20, 2019 · 0 comments

Comments

@cprussin
Copy link

cprussin commented Jan 20, 2019

According to the bower docs you should be able to specify the components path using the environment variable bower_directory. But that environment variable isn't supported in the pulp implementation here, forcing pulp consumers to either pass the option as a CLI flag or create a .bowerrc to specify it.

The use case where it would be nice to read off the environment is when using a tool like bower2nix to do builds. Then the shell.nix can just export bower_directory and you have a valid environment, without having to symlink in the bower_components directory, manage mutating.bowerrc file, or modify the Makefile/package.json scripts to be nix-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant