-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be5ecda
commit 65086c2
Showing
8 changed files
with
72 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,13 +1,8 @@ | ||
#!/bin/sh | ||
cargo +nightly fmt --all -- --check | ||
cargo +nightly clippy --all -- -D clippy::all -D warnings | ||
RES1=$? | ||
cargo tarpaulin --verbose --workspace --timeout 120 --out xml | ||
RES2=$? | ||
export PROFILE=release | ||
cargo +nightly fmt --all -- --check --profile=$PROFILE | ||
cargo +nightly clippy --profile=$PROFILE --workspace -- -D clippy::all -D warnings | ||
cargo +nightly test --profile=$PROFILE --workspace | ||
cargo +nightly tarpaulin --profile=$PROFILE --verbose --workspace --timeout 120 --out xml | ||
cargo +nightly build --profile=$PROFILE --workspace | ||
|
||
if [ ${RES1} = 0 ] && [ ${RES2} = 0 ]; then | ||
echo "Building..." | ||
else | ||
echo "Something broke, still building..." | ||
fi | ||
cargo build --profile=release-with-debug |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
cargo clippy -p crack-voting --release -- -D clippy::all -D warnings | ||
cargo test -p crack-voting --release | ||
cargo build -p crack-voting --release |