-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from NethermindEth/cairo_version
Update cairo version
- Loading branch information
Showing
15 changed files
with
111 additions
and
160 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
Submodule v2.5.0
deleted from
bd7cca
Submodule v2.5.1
deleted from
afdf61
Submodule v2.5.2
deleted from
bd7cca
Submodule v2.5.3
deleted from
bd7cca
Submodule v2.5.4
deleted from
bd7cca
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,33 +1,18 @@ | ||
git rm -r api/cairo_compilers/v* | ||
|
||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v2.5.0 | ||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v2.5.1 | ||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v2.5.2 | ||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v2.5.3 | ||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v2.5.4 | ||
versions=(2.6.0 2.6.1 2.6.2 2.6.3) | ||
|
||
cd api/cairo_compilers/v2.5.0 | ||
git checkout 2.5.0 | ||
cd ../../../ | ||
|
||
cd api/cairo_compilers/v2.5.1 | ||
git checkout 2.5.1 | ||
cd ../../../ | ||
|
||
cd api/cairo_compilers/v2.5.2 | ||
git checkout 2.5.2 | ||
cd ../../../ | ||
|
||
cd api/cairo_compilers/v2.5.3 | ||
git checkout 2.5.3 | ||
cd ../../../ | ||
|
||
cd api/cairo_compilers/v2.5.4 | ||
git checkout 2.5.4 | ||
cd ../../../ | ||
for version in "${versions[@]}" | ||
do | ||
echo $version | ||
git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v$version | ||
cd api/cairo_compilers/v$version | ||
git checkout $version | ||
cd ../../../ | ||
done | ||
|
||
git add -A | ||
git submodule update --init --recursive | ||
|
||
git add -A | ||
git commit -m "Add cairo compilers v2.5.2, v2.5.3, v2.5.4" | ||
git commit -m "Add cairo compilers ${versions[*]}" |
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
Oops, something went wrong.