diff options
author | Tim Oram <mitmaro@gmail.com> | 2016-12-20 23:42:30 -0330 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2020-02-12 21:39:45 -0330 |
commit | 63ab887b4149494f4fe939c4d48238af51708e39 (patch) | |
tree | 4ac7a4a5b56f8a4c855437058212217f060c1ea0 |
Initial project commit
128 files changed, 8913 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ad2c6d8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +indent_style = tab +end_of_line = lf +insert_final_newline = true + +[*.md] +indent_style = space +indent_size = 4 + +[*.yml] +indent_style = space +indent_size = 4 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..9e9b7d4 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,48 @@ +name: Pull Request + +on: [pull_request] + +jobs: + linux: + runs-on: [ubuntu-latest] + steps: + - uses: actions/checkout@v1 + - name: Install dependencies + run: sudo apt-get install build-essential libncursesw5-dev pkg-config liblzma-dev + - name: Test + run: cargo test -- + - name: Build + run: cargo build --release + - name: Test Run + run: cargo run --release -- --version + - name: Lint + run: "./scripts/lint.bash" + - name: Format + run: "./scripts/format.bash" + macos: + name: MacOS + runs-on: [macos] + steps: + - uses: actions/checkout@v1 + # Install Rust until actions/virtual-environments#6 is resolved + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Test + run: cargo test -- + - name: Build + run: cargo build --release + - name: Test Run + run: cargo run --release -- --version + windows: + name: Windows Test + runs-on: [windows-latest] + steps: + - uses: actions/checkout@v1 + - name: Test + run: cargo test --target x86_64-pc-windows-msvc --release -- + - name: Build + run: cargo build --target x86_64-pc-windows-msvc --release + - name: Test Run + run: cargo run --target x86_64-pc-windows-msvc --release -- --version diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..4696eba --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,61 @@ +indent_style = "block" +use_small_heuristics = "Default" +binop_separator = "Front" +combine_control_expr = false +comment_width = 120 +condense_wildcard_suffixes = true +control_brace_style = "ClosingNextLine" +disable_all_formatting = false +error_on_line_overflow = true +error_on_unformatted = true +fn_args_layout = "Tall" +brace_style = "SameLineWhere" +empty_item_single_line = true +enum_discrim_align_threshold = 0 +fn_single_line = false +where_single_line = true +force_explicit_abi = true +format_strings = true +format_macro_matchers = true +format_macro_bodies = true +hard_tabs = true +imports_indent = "Block" +imports_layout = "HorizontalVertical" +merge_imports = false +match_block_trailing_comma = true +max_width = 120 +merge_derives = true +force_multiline_blocks = true +newline_style = "Unix" +normalize_comments = true +remove_nested_parens = true +reorder_imports = true +reorder_modules = true +reorder_impl_items = true +report_todo = "Never" +report_fixme = "Never" +skip_children = false +space_after_colon = true +space_before_colon = fa |