This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move away from mod.rs convention * Update CI tooling to check for license headers and have same formatting as radicle-link. Add license headers to files and run formatting over them. * Check test and example dirs as well
- Loading branch information
Showing
24 changed files
with
1,433 additions
and
205 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 |
---|---|---|
@@ -1,18 +1,11 @@ | ||
env: | ||
DOCKER_IMAGE: gcr.io/opensourcecoin/radicle-surf-build@sha256:5be613920b04adea96ee6b60ee864e93e32a4bfb7582ddf87dd9544ceb9f33cc | ||
DOCKER_IMAGE: gcr.io/opensourcecoin/radicle-surf-build | ||
DOCKER_FILE: .buildkite/docker/rust-nightly/Dockerfile | ||
|
||
steps: | ||
- label: "Build, lint, test" | ||
commands: | ||
- "echo '--- Formatting'" | ||
- "cargo fmt -- --check" | ||
- "echo '--- Bestest Practices'" | ||
- "cargo clippy --all-targets --all-features -- -D warnings" | ||
- "echo '--- Documentationz'" | ||
- "cargo doc" | ||
- "echo '--- Tests'" | ||
- "cargo test --all" | ||
- "ci/run" | ||
agents: | ||
production: "true" | ||
platform: "linux" |
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 @@ | ||
// This file is part of radicle-surf | ||
// <https://github.com/radicle-dev/radicle-surf> | ||
// | ||
// Copyright (C) 2019-2020 The Radicle Team <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License version 3 or | ||
// later as published by the Free Software Foundation. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
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,15 +1,31 @@ | ||
unstable_features = true | ||
max_width = 100 | ||
|
||
# comments | ||
comment_width = 100 | ||
comment_width = 80 | ||
wrap_comments = true | ||
hard_tabs = false | ||
tab_spaces = 4 | ||
imports_layout = "HorizontalVertical" | ||
merge_imports = true | ||
|
||
newline_style = "Unix" | ||
use_small_heuristics = "Default" | ||
|
||
# imports | ||
reorder_imports = true | ||
reorder_modules = true | ||
|
||
# strings | ||
format_strings = false | ||
remove_nested_parens = true | ||
|
||
max_width = 100 | ||
fn_args_layout = "Tall" | ||
|
||
edition = "2018" | ||
|
||
match_block_trailing_comma = true | ||
|
||
merge_derives = true | ||
|
||
use_try_shorthand = false | ||
use_field_init_shorthand = false | ||
|
||
force_explicit_abi = true | ||
|
||
license_template_path = ".license-header" |
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 @@ | ||
LICENCSE |
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.