-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jjcnn/move-name-resolution-to-root
- Loading branch information
Showing
1,026 changed files
with
14,185 additions
and
1,376 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# Syntax highlighting of sway files as rust | ||
*.sw linguist-language=Rust | ||
|
||
# Syntax highlighting of ir files as LLVM | ||
*.ir linguist-language=LLVM |
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,17 @@ | ||
IFS=',' read -ra PACKAGES <<< "$PACKAGE_NAMES" | ||
mismatch=0 | ||
for PACKAGE in "${PACKAGES[@]}"; do | ||
VERSION_FIRST=$(toml get ./Cargo.toml "workspace.dependencies.$PACKAGE.version") | ||
VERSION_SECOND=$(toml get ./test/src/sdk-harness/Cargo.toml "dependencies.$PACKAGE.version") | ||
printf "$PACKAGE Version - First: $VERSION_FIRST, Second: $VERSION_SECOND\n" | ||
if [ "$VERSION_FIRST" != "$VERSION_SECOND" ]; then | ||
printf "Version mismatch for $PACKAGE: First: $VERSION_FIRST, Second: $VERSION_SECOND\n" | ||
mismatch=1 | ||
fi | ||
done | ||
if [ $mismatch -ne 0 ]; then | ||
printf "Version mismatch between fuel-core-client used in sdk-harness and rest of sway repo.\nThis will cause problems if two versions are incompatible or it might simply cause invalid/outdated test suite.\nIf you are bumping fuel-core versions used in sway repo, please also use same version in sdk-harness.\n" | ||
exit 1 | ||
else | ||
echo "All specified package versions match." | ||
fi |
Oops, something went wrong.