-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: break the loop when an error occurs
- Loading branch information
1 parent
f26ebf2
commit 6b6cb33
Showing
12 changed files
with
789 additions
and
310 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
charset = utf-8 | ||
|
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,10 @@ | ||
# shellcheck shell=sh | ||
if ! has nix_direnv_version || ! nix_direnv_version 2.4.0; then | ||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.4.0/direnvrc" "sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U=" | ||
fi | ||
|
||
nix_direnv_watch_file flake.nix | ||
|
||
if ! use flake . --accept-flake-config --impure; then | ||
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2 | ||
fi |
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,9 @@ | ||
--- | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
uses: semantic-release-action/rust/.github/workflows/ci.yml@v5 |
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,22 @@ | ||
--- | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- next | ||
- next-major | ||
- beta | ||
- alpha | ||
- "[0-9]+.[0-9]+.x" | ||
- "[0-9]+.x" | ||
|
||
jobs: | ||
release: | ||
uses: semantic-release-action/rust/.github/workflows/release-binary.yml@v5 | ||
with: | ||
targets: | | ||
x86_64-unknown-linux-gnu | ||
secrets: | ||
cargo-registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
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 +1,6 @@ | ||
/target | ||
target | ||
|
||
.devenv | ||
.direnv | ||
|
||
.pre-commit-config.yaml |
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,50 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true | ||
}, | ||
"eslint.options": { | ||
// "overrideConfigFile": "eslint.config.js" | ||
}, | ||
"rust-analyzer.linkedProjects": ["Cargo.toml"], | ||
"nixEnvSelector.nixFile": "${workspaceRoot}/flake.nix", | ||
"[rust]": { | ||
"editor.defaultFormatter": "statiolake.vscode-rustfmt", | ||
"editor.tabSize": 2 | ||
}, | ||
"rust-analyzer.rustfmt.extraArgs": ["--config", "tab_spaces=2"], | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"javascript.preferences.importModuleSpecifier": "non-relative", | ||
"[objective-c]": { | ||
"editor.defaultFormatter": "xaver.clang-format" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "numso.prettier-standard-vscode", | ||
"editor.formatOnSave": false | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "numso.prettier-standard-vscode", | ||
"editor.formatOnSave": false | ||
}, | ||
"[jsonc]": { | ||
"editor.defaultFormatter": "numso.prettier-standard-vscode", | ||
"editor.formatOnSave": true | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "numso.prettier-standard-vscode" | ||
}, | ||
"[md]": { | ||
"editor.defaultFormatter": "numso.prettier-standard-vscode", | ||
"editor.formatOnSave": true | ||
} | ||
// "runOnSave.statusMessageTimeout": 3000, | ||
// "runOnSave.commands": [ | ||
// { | ||
// // Match less files except names start with `_`. | ||
// "globMatch": "**/[^_]*.*", | ||
// "command": "treefmt ${file}", | ||
// "runIn": "backend", | ||
// "runningStatusMessage": "Formating ${fileBasename}", | ||
// "finishStatusMessage": "${fileBasename} formated" | ||
// } | ||
// ] | ||
} |
Oops, something went wrong.