Snapcraft Stable (#722)

* Add option to install neovide from snap

* add snapcraft to release

* add snapcraft to release

* move badge

Co-authored-by: Brymer Meneses <68867487+brymer-meneses@users.noreply.github.com>
macos-click-through
j4qfrost 3 years ago committed by GitHub
parent 599dc5887d
commit 2160520720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -198,6 +198,15 @@ REGEX=$(printf 's/{url}/&\#branch=%s/g' '<YOUR-BRANCH-HERE>')
sed "$REGEX" PKGBUILD sed "$REGEX" PKGBUILD
makepkg -si makepkg -si
``` ```
#### With Snap
Neovide is also available in the Snap Store. You can install it
using the command below.
```
snap install neovide
```
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/neovide)
#### From source #### From source
1. Install necessary dependencies (adjust for your preferred package manager) 1. Install necessary dependencies (adjust for your preferred package manager)
@ -235,6 +244,3 @@ makepkg -si
### Linux-specific ### Linux-specific
- If you recieve errors complaining about DRI3 settings, please reference issue [#44](https://github.com/Kethku/neovide/issues/44#issuecomment-578618052). - If you recieve errors complaining about DRI3 settings, please reference issue [#44](https://github.com/Kethku/neovide/issues/44#issuecomment-578618052).
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/neovide)

@ -1,12 +1,12 @@
name: neovide # you probably want to 'snapcraft register <name>' name: neovide # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap base: core18 # the base snap is the execution environment for this snap
version: "0.7.1+git" version: "0.7.0+git"
summary: The snappiest vim editor you are likely to find. summary: The snappiest vim editor you are likely to find.
description: | description: |
This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements, This is a simple graphical user interface for Neovim. Where possible there are some graphical improvements,
but it should act functionally like the terminal UI. but it should act functionally like the terminal UI.
grade: devel # must be 'stable' to release into candidate/stable channels grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots confinement: strict # use 'strict' once you have the right plugs and slots
build-packages: build-packages:
- cmake - cmake

@ -127,7 +127,7 @@ mod tests {
} }
#[test] #[test]
fn new_constructsGrid() { fn new_constructs_grid() {
let context = Context::new(); let context = Context::new();
// RUN FUNCTION // RUN FUNCTION
@ -141,7 +141,7 @@ mod tests {
} }
#[test] #[test]
fn getCell_returnsExpectedCell() { fn get_cell_returns_expected_cell() {
let context = Context::new(); let context = Context::new();
let mut character_grid = CharacterGrid::new(context.size); let mut character_grid = CharacterGrid::new(context.size);
@ -162,7 +162,7 @@ mod tests {
} }
#[test] #[test]
fn getCellMut_modifiersGridProperly() { fn get_cell_mut_modifiers_grid_properly() {
let context = Context::new(); let context = Context::new();
let mut character_grid = CharacterGrid::new(context.size); let mut character_grid = CharacterGrid::new(context.size);
@ -189,7 +189,7 @@ mod tests {
} }
#[test] #[test]
fn setAllCharacters_setsAllCellsToGivenCharacter() { fn set_all_characters_sets_all_cells_to_given_character() {
let context = Context::new(); let context = Context::new();
let grid_cell = ( let grid_cell = (
"foo".to_string(), "foo".to_string(),
@ -206,7 +206,7 @@ mod tests {
} }
#[test] #[test]
fn clear_emptiesBuffer() { fn clear_empties_buffer() {
let context = Context::new(); let context = Context::new();
let mut character_grid = CharacterGrid::new(context.size); let mut character_grid = CharacterGrid::new(context.size);
@ -228,7 +228,7 @@ mod tests {
} }
#[test] #[test]
fn resize_clearsAndResizesGrid() { fn resize_clears_and_resizes_grid() {
let context = Context::new(); let context = Context::new();
let mut character_grid = CharacterGrid::new(context.size); let mut character_grid = CharacterGrid::new(context.size);
let (width, height) = ( let (width, height) = (

@ -368,7 +368,7 @@ mod tests {
} }
#[test] #[test]
fn windowSeparator_modifiesGridAndSendsDrawCommand() { fn window_separator_modifies_grid_and_sends_draw_command() {
let (batched_receiver, batched_sender) = build_test_channels(); let (batched_receiver, batched_sender) = build_test_channels();
let mut window = Window::new(1, 114, 64, None, 0.0, 0.0, batched_sender.clone()); let mut window = Window::new(1, 114, 64, None, 0.0, 0.0, batched_sender.clone());
batched_sender batched_sender

Loading…
Cancel
Save