-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First Rust template Signed-off-by: slinkydeveloper <francescoguard@gmail.com> * Add Rust infra for examples Signed-off-by: slinkydeveloper <francescoguard@gmail.com> --------- Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
- Loading branch information
1 parent
764e469
commit f576c48
Showing
10 changed files
with
1,654 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
SELF_PATH=${BASH_SOURCE[0]:-"$(command -v -- "$0")"} | ||
PROJECT_ROOT="$(dirname "$SELF_PATH")/.." | ||
|
||
function cargo_build_check() { | ||
pushd $1 | ||
cargo clippy | ||
popd | ||
} | ||
|
||
cargo_build_check $PROJECT_ROOT/templates/rust |
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,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
NEW_VERSION=$1 | ||
SELF_PATH=${BASH_SOURCE[0]:-"$(command -v -- "$0")"} | ||
PROJECT_ROOT="$(dirname "$SELF_PATH")/.." | ||
|
||
function bump_rust_sdk() { | ||
pushd $1 | ||
cargo update restate-sdk@$NEW_VERSION | ||
popd | ||
} | ||
|
||
bump_rust_sdk $PROJECT_ROOT/templates/rust |
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,11 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
debug/ | ||
target/ | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# MSVC Windows builds of rustc generate these, which store debugging information | ||
*.pdb | ||
|
Oops, something went wrong.