-
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Once ratatui/ratatui#114 has been merged, we can undo this! But otherwise we can't publish to crates.io with a git dependency.
- Loading branch information
Showing
39 changed files
with
14,533 additions
and
21 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,60 @@ | ||
--- | ||
name: Bug report | ||
about: Create an issue about a bug you encountered | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
Hi there, sorry `ratatui` is not working as expected. | ||
Please fill this bug report conscientiously. | ||
A detailed and complete issue is more likely to be processed quickly. | ||
--> | ||
|
||
## Description | ||
<!-- | ||
A clear and concise description of what the bug is. | ||
--> | ||
|
||
|
||
## To Reproduce | ||
<!-- | ||
Try to reduce the issue to a simple code sample exhibiting the problem. | ||
Ideally, fork the project and add a test or an example. | ||
--> | ||
|
||
|
||
## Expected behavior | ||
<!-- | ||
A clear and concise description of what you expected to happen. | ||
--> | ||
|
||
|
||
## Screenshots | ||
<!-- | ||
If applicable, add screenshots, gifs or videos to help explain your problem. | ||
--> | ||
|
||
|
||
## Environment | ||
<!-- | ||
Add a description of the systems where you are observing the issue. For example: | ||
- OS: Linux | ||
- Terminal Emulator: xterm | ||
- Font: Inconsolata (Patched) | ||
- Crate version: 0.7 | ||
- Backend: termion | ||
--> | ||
|
||
- OS: | ||
- Terminal Emulator: | ||
- Font: | ||
- Crate version: | ||
- Backend: | ||
|
||
## Additional context | ||
<!-- | ||
Add any other context about the problem here. | ||
If you already looked into the issue, include all the leads you have explored. | ||
--> |
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 @@ | ||
blank_issues_enabled: false |
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,32 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Problem | ||
<!-- | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
--> | ||
|
||
## Solution | ||
<!-- | ||
A clear and concise description of what you want to happen. | ||
Things to consider: | ||
- backward compatibility | ||
- ease of use of the API (https://rust-lang.github.io/api-guidelines/) | ||
- consistency with the rest of the crate | ||
--> | ||
|
||
## Alternatives | ||
<!-- | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
--> | ||
|
||
## Additional context | ||
<!-- | ||
Add any other context or screenshots about the feature request here. | ||
--> |
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,19 @@ | ||
name: Continuous Deployment | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
publish: | ||
name: Publish on crates.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
- name: Publish | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: publish | ||
args: --token ${{ secrets.CARGO_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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
name: CI | ||
|
||
env: | ||
CI_CARGO_MAKE_VERSION: 0.35.16 | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
rust: ["1.59.0", "stable"] | ||
include: | ||
- os: ubuntu-latest | ||
triple: x86_64-unknown-linux-musl | ||
- os: windows-latest | ||
triple: x86_64-pc-windows-msvc | ||
- os: macos-latest | ||
triple: x86_64-apple-darwin | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: hecrj/setup-rust-action@50a120e4d34903c2c1383dec0e9b1d349a9cc2b1 | ||
with: | ||
rust-version: ${{ matrix.rust }} | ||
components: rustfmt,clippy | ||
- uses: actions/checkout@v3 | ||
- name: Install cargo-make on Linux or macOS | ||
if: ${{ runner.os != 'windows' }} | ||
shell: bash | ||
run: | | ||
curl -LO 'https://github.com/sagiegurari/cargo-make/releases/download/${{ env.CI_CARGO_MAKE_VERSION }}/cargo-make-v${{ env.CI_CARGO_MAKE_VERSION }}-${{ matrix.triple }}.zip' | ||
unzip 'cargo-make-v${{ env.CI_CARGO_MAKE_VERSION }}-${{ matrix.triple }}.zip' | ||
cp 'cargo-make-v${{ env.CI_CARGO_MAKE_VERSION }}-${{ matrix.triple }}/cargo-make' ~/.cargo/bin/ | ||
cargo make --version | ||
- name: Install cargo-make on Windows | ||
if: ${{ runner.os == 'windows' }} | ||
shell: bash | ||
run: | | ||
# `cargo-make-v0.35.16-{target}/` directory is created on Linux and macOS, but it is not creatd on Windows. | ||
mkdir cargo-make-temporary | ||
cd cargo-make-temporary | ||
curl -LO 'https://github.com/sagiegurari/cargo-make/releases/download/${{ env.CI_CARGO_MAKE_VERSION }}/cargo-make-v${{ env.CI_CARGO_MAKE_VERSION }}-${{ matrix.triple }}.zip' | ||
unzip 'cargo-make-v${{ env.CI_CARGO_MAKE_VERSION }}-${{ matrix.triple }}.zip' | ||
cp cargo-make.exe ~/.cargo/bin/ | ||
cd .. | ||
cargo make --version | ||
- name: "Format / Build / Test" | ||
run: cargo make ci | ||
env: | ||
RUST_BACKTRACE: full | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
if: github.event_name != 'pull_request' | ||
uses: actions/checkout@v3 | ||
- name: Checkout | ||
if: github.event_name == 'pull_request' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: "Check conventional commits" | ||
uses: crate-ci/committed@master | ||
with: | ||
args: "-vv" | ||
commits: "HEAD" | ||
- name: "Check typos" | ||
uses: crate-ci/typos@master |
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,6 @@ | ||
target | ||
Cargo.lock | ||
*.log | ||
*.rs.rustfmt | ||
.gdb_history | ||
.idea/ |
Oops, something went wrong.