feat: update user configuration example and add development package support
- Enhanced the user.depot.toml.example file with additional comments and options for user-local preferences. - Bumped version from 0.35.0 to 0.35.1 in meson.build. - Introduced a new option for DEPOT_DEVELOPMENT_PACKAGE in meson_options.txt. - Added functions to handle the requested development package in build_options.rs. - Updated various builder files (autotools.rs, cmake.rs, custom.rs, meson.rs, perl.rs) to support passing build flags. - Implemented checks for the required development package during source builds in commands.rs and commands/build_cmd.rs. - Added tests to ensure the correct behavior of development package requirements and source build warnings. - Modified manual source handling in source/mod.rs to validate local manual sources before proceeding with builds. - Updated cargo build and test scripts to accept a new development package argument. - Added VSCode settings to disable automatic configuration on open.
This commit is contained in:
+4
-1
@@ -1,6 +1,6 @@
|
||||
project(
|
||||
'depot',
|
||||
version: '0.35.0',
|
||||
version: '0.35.1',
|
||||
meson_version: '>=0.60.0',
|
||||
default_options: ['buildtype=release'],
|
||||
)
|
||||
@@ -21,6 +21,7 @@ depot_custom_package = get_option('DEPOT_CUSTOM_PACKAGE')
|
||||
depot_python_package = get_option('DEPOT_PYTHON_PACKAGE')
|
||||
depot_rust_package = get_option('DEPOT_RUST_PACKAGE')
|
||||
depot_makefile_package = get_option('DEPOT_MAKEFILE_PACKAGE')
|
||||
depot_development_package = get_option('DEPOT_DEVELOPMENT_PACKAGE')
|
||||
|
||||
src_root = meson.project_source_root()
|
||||
build_root = meson.project_build_root()
|
||||
@@ -84,6 +85,7 @@ depot_bin = custom_target(
|
||||
depot_python_package,
|
||||
depot_rust_package,
|
||||
depot_makefile_package,
|
||||
depot_development_package,
|
||||
'@OUTPUT@',
|
||||
],
|
||||
console: true,
|
||||
@@ -128,6 +130,7 @@ test(
|
||||
depot_python_package,
|
||||
depot_rust_package,
|
||||
depot_makefile_package,
|
||||
depot_development_package,
|
||||
],
|
||||
suite: ['cargo'],
|
||||
timeout: 0,
|
||||
|
||||
Reference in New Issue
Block a user