-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Showing
29 changed files
with
111 additions
and
38 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
err() { | ||
echo -e "\e[31m\e[1merror:\e[0m $@" 1>&2; | ||
} | ||
|
||
status() { | ||
WIDTH=12 | ||
printf "\e[32m\e[1m%${WIDTH}s\e[0m %s\n" "$1" "$2" | ||
} | ||
|
||
REF=$1 | ||
MANIFEST=$2 | ||
|
||
if [ -z "$REF" ]; then | ||
err "Expected ref to be set" | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$MANIFEST" ]; then | ||
err "Expected manifest to be set" | ||
exit 1 | ||
fi | ||
|
||
# strip preceeding 'v' if it exists on tag | ||
REF=${REF/#v} | ||
TOML_VERSION=$(toml get $MANIFEST package.version | tr -d '"') | ||
|
||
if [ "$TOML_VERSION" != "$REF" ]; then | ||
err "Crate version $TOML_VERSION, doesn't match tag version $REF" | ||
exit 1 | ||
else | ||
status "Crate version matches tag $TOML_VERSION" | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name = "simple-wasm" | ||
version = "0.1.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = ['cdylib'] | ||
|
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,5 +1,5 @@ | ||
[package] | ||
name = "fuel-client" | ||
name = "fuel-gql-client" | ||
version = "0.1.0" | ||
authors = ["Fuel Labs <[email protected]>"] | ||
categories = ["concurrency", "cryptography::cryptocurrencies", "emulators"] | ||
|
@@ -16,7 +16,7 @@ autotests = false | |
autobenches = false | ||
|
||
[[bin]] | ||
name = "fuel-client" | ||
name = "fuel-gql-cli" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
|
@@ -36,7 +36,7 @@ surf = "2.2" | |
thiserror = "1.0" | ||
|
||
[dev-dependencies] | ||
fuel-client = { path = ".", features = ["test-helpers"] } | ||
fuel-gql-client = { path = ".", features = ["test-helpers"] } | ||
fuel-core = { path = "../fuel-core", features = ["test-helpers"] } | ||
fuel-vm = { git = "ssh://[email protected]/FuelLabs/fuel-vm.git", features = ["serde-types", "random"] } | ||
insta = "1.8" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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