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" |