-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from Marwes/length_prefix
feat: Add a length_prefix combinator
- Loading branch information
Showing
2 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/bash -x | ||
set -ex | ||
|
||
cargo build | ||
cargo test --all-features | ||
cargo test --all-features --examples | ||
cargo "$@" build | ||
cargo "$@" test --all-features | ||
cargo "$@" test --all-features --examples | ||
|
||
cargo test --bench json --bench http -- --test | ||
cargo check --bench mp4 --features mp4 | ||
cargo "$@" test --bench json --bench http -- --test | ||
cargo "$@" check --bench mp4 --features mp4 | ||
|
||
cargo build --no-default-features | ||
cargo test --no-default-features --examples | ||
cargo "$@" build --no-default-features | ||
cargo "$@" test --no-default-features --examples |