5c33a36100
- Introduced a new method `apply_default_string` to streamline the application of default values for string fields in build flags. - Enhanced `apply_flags_table` to utilize the new method for setting various build flags, improving code readability and maintainability. - Added support for additional build flags: `fuse_ld`, `ranlib`, `strip`, `nm`, `objcopy`, `objdump`, and `readelf`. - Implemented a new command `set` to manage tool aliases for compilers, linkers, and shells, allowing users to set preferred tools in the build environment. - Improved error handling and validation for tool alias configuration, ensuring that existing non-symlink files are not replaced. - Added tests to verify the correct behavior of tool alias management and build flag application.
Contrib: example system and user configuration files for Depot
Place these files on your system to provide sensible defaults and examples
for /etc/depot.toml, /etc/depot.d/*.toml, or user-level configs.
Recommended installation:
System-wide
sudo cp contrib/depot.toml /etc/depot.toml sudo mkdir -p /etc/depot.d sudo cp -r contrib/depot.d/* /etc/depot.d/
Per-user (example)
mkdir -p ~/.config cp contrib/user.depot.toml.example ~/.config/depot.toml
Notes
- These files are examples only. Review and adapt to your distribution and security policies before deploying.
- The config loader supports append syntax (e.g.
cflags += ["-g"]). contrib/depot.d/repos.tomlshows the new source/binary repo configuration format used bydepot repo ...commands.