8000 Add environment variables by paulo-ferraz-oliveira · Pull Request #94 · erlef/setup-beam · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add environment variables #94

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

Merged
merged 3 commits into from
Feb 22, 2022
Merged

Add environment variables #94

merged 3 commits into from
Feb 22, 2022

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

⚠️ don't merge before #91+#92 and the 3rd party licenses are update (lest we have "expected" errors which don't tell the whole story)

This introduces some env. variables to the run, namely the ones identified in the README.md:

  • INSTALL_DIR_FOR_ELIXIR: base folder for Erlang/OTP
  • INSTALL_DIR_FOR_GLEAM: base folder for Elixir
  • INSTALL_DIR_FOR_OTP: base folder for Gleam
  • INSTALL_DIR_FOR_REBAR3: base folder for rebar3

and hopefully it closes #89 (still waiting on a comment/test by @samaaron)

(win22 is just a guess, at this moment)
@paulo-ferraz-oliveira
Copy link
Collaborator Author

I'm going to break this into 2 commits, since one of them is basically code maintenance and pollutes the revision.

@@ -6,14 +6,16 @@ Set-Location $Env:RUNNER_TEMP

$FILE_INPUT="gleam-${VSN}-windows-64bit.zip"
$FILE_OUTPUT="gleam.zip"
$DIR_FOR_BIN=".setup-beam/gleam/bin"
$DIR_FOR_BIN=".setup-beam/gleam"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tweaking of bin, here, was basically for consistency with the other outputs (otherwise we'd have to attach the bin to Gleam's base folder).

@paulo-ferraz-oliveira
Copy link
Collaborator Author

70a59a5 basically adds a lot of { for consistency with existing code.

@paulo-ferraz-oliveira
Copy link
Collaborator Author

Rebased on top of main...

@paulo-ferraz-oliveira
Copy link
Collaborator Author

This is now Ok, after the rebase. Merging...

@paulo-ferraz-oliveira paulo-ferraz-oliveira merged commit 2494d08 into erlef:main Feb 22, 2022
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the feature/env-for-install-dir branch February 22, 2022 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamically discover include path on Windows
2 participants
0