Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhmerry0098 committed Dec 30, 2024
1 parent 2db46d1 commit b95a6ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ During the build process, the buildpack will read the `project.toml` file and ap
#### Example

```toml
# _.schema-version is required for the project descriptor
[_]
schema-version = "0.2"

# buildpack configuration goes here
[com.heroku.buildpacks.deb-packages]
install = [
# string version of a dependency to install
system-cron,
# inline-table version of a dependency to install
{ name = "git",
env = { "GIT_EXEC_PATH" = "{install_dir}/usr/lib/git-core",
"GIT_TEMPLATE_DIR" = "{install_dir}/usr/share/git-core/templates" }
Expand Down
7 changes: 0 additions & 7 deletions src/config/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ impl Environment {
env
}

/// Apply environment variables to the current process.
// pub(crate) fn apply(&self) {
// for (key, value) in &self.variables {
// std::env::set_var(key, value);
// }
// }

/// Get environment variables as a `HashMap`.
pub(crate) fn get_variables(&self) -> &HashMap<String, String> {
&self.variables
Expand Down

0 comments on commit b95a6ce

Please sign in to comment.