refactor: clean up scripts
This commit is contained in:
parent
416dd1660d
commit
ba9ba5aa09
5 changed files with 10 additions and 12 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
||||||
/target
|
/target
|
||||||
/.git
|
/.git
|
||||||
|
scripts/copy_to_svn.sh
|
||||||
|
scripts/copy_to_win.sh
|
||||||
|
|
6
scripts/bench_algorithms.sh
Executable file
6
scripts/bench_algorithms.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# I'm using a bash script because if i set the target in .cargo/config.toml
|
||||||
|
# i can't build for x86_64 anymore, which means I can't run the unit tests.
|
||||||
|
TARGET="x86_64-unknown-linux-gnu"
|
||||||
|
cd crates/algorithms
|
||||||
|
cargo bench --target $TARGET --no-default-features
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
rsync --cvs-exclude --recursive --links --copy-links --filter=':- .gitignore' \
|
|
||||||
--verbose --human-readable --partial --progress \
|
|
||||||
"$PWD" "/home/cscherr/Documents/SVN/nt/BA/trunk/Studium/Christoph_Scherr/system/Implementation/"
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
EPATH=/mnt/c/Users/cscherr/Documents/code/rust/nucleo-l053r8-crcbench
|
|
||||||
rsync --cvs-exclude --recursive --links --copy-links --filter=':- .gitignore' \
|
|
||||||
--verbose --human-readable --partial --progress \
|
|
||||||
"$PWD/" $EPATH
|
|
|
@ -2,4 +2,5 @@
|
||||||
# I'm using a bash script because if i set the target in .cargo/config.toml
|
# I'm using a bash script because if i set the target in .cargo/config.toml
|
||||||
# i can't build for x86_64 anymore, which means I can't run the unit tests.
|
# i can't build for x86_64 anymore, which means I can't run the unit tests.
|
||||||
TARGET="x86_64-unknown-linux-gnu"
|
TARGET="x86_64-unknown-linux-gnu"
|
||||||
cargo test --target $TARGET -p crc --no-default-features
|
cd crates/algorithms
|
||||||
|
cargo test --target $TARGET --no-default-features
|
Loading…
Add table
Reference in a new issue