build: Use Cargo.lock included with the repo by default
This should fix some future problems with dependencies getting updated in a way that's unsupported by the build tools targeted by Squeekboard.
This commit is contained in:
@ -63,7 +63,7 @@ rslibs = custom_target(
|
||||
install: false,
|
||||
console: true,
|
||||
command: [cargo_build] + ['@OUTPUT@', '--lib'] + cargo_build_flags,
|
||||
depends: cargo_toml,
|
||||
depends: cargo_deps,
|
||||
)
|
||||
|
||||
build_rstests = custom_target(
|
||||
@ -78,7 +78,7 @@ build_rstests = custom_target(
|
||||
install: false,
|
||||
console: true,
|
||||
command: [cargo_script, 'test', '--no-run'] + cargo_build_flags,
|
||||
depends: [rslibs, cargo_toml], # no point building tests if the code itself fails
|
||||
depends: [rslibs, cargo_deps], # no point building tests if the code itself fails
|
||||
)
|
||||
|
||||
test(
|
||||
@ -88,7 +88,7 @@ test(
|
||||
env: ['SOURCE_DIR=' + meson.source_root()],
|
||||
# this is a whole Carg-based test suite, let it run for a while
|
||||
timeout: 900,
|
||||
depends: [build_rstests, cargo_toml],
|
||||
depends: [build_rstests, cargo_deps],
|
||||
)
|
||||
|
||||
libsqueekboard = static_library('libsqueekboard',
|
||||
|
||||
Reference in New Issue
Block a user