Add PATH manipulation methods - close #126

This commit is contained in:
josh committed 2021-11-17 21:39:58 -05:00
1 parent 80d52f25b8
commit f011b23499
7 files changed
+85

No files matched your search

+16
View File
@@ -932,6 +932,22 @@ subsidiary build script.
Subsidiary build scripts are executed from within the directory containing the
build script.
###> PATH Management
`rscons` provides methods for management of the `PATH` environment variable.
The `path_append` and `path_prepend` methods can be used to append or prepend
a path to the `PATH` environment variable.
```ruby
path_prepend "i686-elf-gcc/bin"
```
The `path_set` method sets the `PATH` environment variable to the given
Array or String.
The `path_components` method returns an Array of the components in the `PATH`
environment variable.
##> Extending Rscons
### Adding New Languages