Update package version to 0.29.0
This commit is contained in:
@@ -10,18 +10,22 @@ FILENAME="${DOWNLOAD##*/}"
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
|
||||
cd "$BPM_SOURCE"
|
||||
# Fetch dependencies
|
||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
cargo build --release
|
||||
cargo build --release --frozen
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
cargo test | true
|
||||
RUSTC_BOOTSTRAP=1 cargo test --release --frozen
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
|
||||
Reference in New Issue
Block a user