File tree 6 files changed +22
-33
lines changed
6 files changed +22
-33
lines changed Original file line number Diff line number Diff line change 11
11
matrix :
12
12
include :
13
13
- os : ubuntu-20.04
14
- url : https://github.com/neovim/neovim/releases/download/v0.9.2 /nvim-linux64.tar.gz
14
+ url : https://github.com/neovim/neovim/releases/download/v0.7.0 /nvim-linux64.tar.gz
15
15
manager : sudo apt-get
16
16
packages : -y fd-find ripgrep
17
17
steps :
43
43
44
44
- name : build rust
45
45
run : |
46
- export PATH="${PWD}/_neovim/bin:${PATH}"
47
- export VIM="${PWD}/_neovim/share/nvim/runtime"
48
- ./build.lua
46
+ ./build.sh
49
47
50
48
- name : Run tests
51
49
run : |
Original file line number Diff line number Diff line change 2
2
nvim --headless --noplugin -u tests/minimal.vim -c " PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
3
3
4
4
build-oxi :
5
- ./build.lua
5
+ ./build.sh
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ There are two replace methods `sed` and `oxi`.
303
303
Install ` oxi ` :
304
304
305
305
- you will need to install ` cargo ` and run the command:
306
- [ build.lua ] ( ./build.lua )
306
+ [ build.sh ] ( ./build.sh )
307
307
[ nvim-oxi] ( https://github.com/noib3/nvim-oxi )
308
308
309
309
- set default replace command to ` "oxi" ` on ` setup() `
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ cd spectre_oxi
4
+
5
+ cargo build --release
6
+
7
+ if [ " $( uname) " == " Darwin" ]; then
8
+ cp target/release/libspectre_oxi.dylib ../lua/spectre_oxi.so
9
+ elif [ " $( expr substr $( uname -s) 1 5) " == " Linux" ]; then
10
+ cp target/release/libspectre_oxi.so ../lua/spectre_oxi.so
11
+ elif [ " $( expr substr $( uname -s) 1 10) " == " MINGW32_NT" ]; then
12
+ cp target/release/libspectre_oxi.dll ../lua/spectre_oxi.dll
13
+ fi
14
+ rm -rf target
15
+ echo " Build Done"
16
+
17
+
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ There are two replace methods `sed` and `oxi`.
330
330
Install `oxi` :
331
331
332
332
333
- - you will need to install `cargo` and run the command: build.lua <./build.lua >
333
+ - you will need to install `cargo` and run the command: build.sh <./build.sh >
334
334
nvim-oxi <https://github.com/noib3/nvim-oxi >
335
335
- set default replace command to `" oxi" ` on `setup ()`
336
336
You can’t perform that action at this time.
0 commit comments