File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 51
51
- name : Run cargo check
52
52
run : |
53
53
cargo clean
54
- ./ convert-to-heed3.sh
54
+ bash convert-to-heed3.sh
55
55
cargo check -p heed3
56
56
57
57
check_all_features :
@@ -104,7 +104,7 @@ jobs:
104
104
- name : Run cargo test
105
105
run : |
106
106
cargo clean
107
- ./ convert-to-heed3.sh
107
+ bash convert-to-heed3.sh
108
108
cargo check --all-features -p heed3
109
109
110
110
examples :
@@ -155,7 +155,7 @@ jobs:
155
155
- name : Run the examples
156
156
run : |
157
157
cargo clean
158
- ./ convert-to-heed3.sh
158
+ bash convert-to-heed3.sh
159
159
cargo run --example 2>&1 | grep -E '^ '| xargs -n1 cargo run --example
160
160
161
161
fmt :
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
1
3
# This script is meant to setup the heed3 crate.
2
4
#
3
5
@@ -10,7 +12,11 @@ set -e
10
12
11
13
# It basically copy the heed3/Cargo.toml file into
12
14
# the heed folder...
13
- cp heed3/Cargo.toml heed/Cargo.toml
15
+ if [[ " $OSTYPE " == " cygwin" || " $OSTYPE " == " msys" ]]; then
16
+ cp heed3\\ Cargo.toml heed\\ Cargo.toml
17
+ else
18
+ cp heed3/Cargo.toml heed/Cargo.toml
19
+ fi
14
20
15
21
# ...and replaces the `heed::` string by the `heed3::` one.
16
22
for file in $( find heed/src -type f -name " *.rs" ) ; do
You can’t perform that action at this time.
0 commit comments