roc-lang / rbt

Roc Build Tool
Universal Permissive License v1.0
49 stars 5 forks source link

Empty out environment before running a job #83

Closed celsobonutti closed 1 year ago

celsobonutti commented 2 years ago

This PR cleans up the environment variables before running a job, which fixes #63. For now, we're keeping the HOME as suggested in the comment. Some of the env vars are created when we run a shell command, like SHLVL, PWD and _, so they're also expected to be present.

celsobonutti commented 2 years ago

@BrianHicks I've opened the PR but GH won't let me assign a reviewer, so I'm pinging you 😅

BrianHicks commented 2 years ago

for CI: