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 to set environment variables when executing build.dart #20768

Closed
DartBot opened this issue Sep 1, 2014 · 4 comments
Closed

Allow to set environment variables when executing build.dart #20768

DartBot opened this issue Sep 1, 2014 · 4 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug
Milestone

Comments

@DartBot
Copy link

DartBot commented Sep 1, 2014

This issue was originally filed by ma...@gmail.com


There are multiple build scripts that depend on third party scripts (for example: sass). The problem is, that they depend on the third party libraries to be installed on the system and discoverable with the PATH variable.
Under MacOS there is no clean way to specify the PATH variables with which the app is supposed to run.

So it would be great if there was a setting in the dart editor, to specify the environment variables when invoking scripts (such as build.dart).

I attached a screenshot of how xcode handles this.


Attachment:
[Screen Shot 2014-09-01 at 18.59.52.png](https://storage.googleapis.com/google-code-attachments/dart/issue-20768/comment-0/Screen Shot 2014-09-01 at 18.59.52.png) (70.53 KB)

@anders-sandholm
Copy link
Contributor

Added Area-Editor, Triaged labels.

@clayberg
Copy link

clayberg commented Sep 2, 2014

Set owner to @keertip.
Removed Priority-Unassigned label.
Added Priority-Medium label.

@sethladd
Copy link
Contributor

sethladd commented Sep 4, 2014

Nice suggestion, appreciate the feedback. After review, we believe we can best help this use case by focusing on a plugin for WebStorm and supporting Sublime. We encourage you to try one of those editors.

In the meantime, surprised you're using build.dart which is a Dart Editor only feature. I don't think it solves your main issue, but pub's transformers are a better way to do builds.


Removed the owner.
Added NotPlanned label.

@clayberg
Copy link

Added this to the 1.7 milestone.

@DartBot DartBot added Type-Enhancement closed-not-planned Closed as we don't intend to take action on the reported issue labels Sep 11, 2014
@DartBot DartBot added this to the 1.7 milestone Sep 11, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants