mirror of
https://github.com/mistricky/codesnap.nvim.git
synced 2024-12-27 03:46:29 +00:00
[Feat] update apply generator script
This commit is contained in:
parent
9b9a11f42e
commit
ccf108b440
3 changed files with 1 additions and 6 deletions
BIN
lua/generator.so
BIN
lua/generator.so
Binary file not shown.
1
makefile
1
makefile
|
@ -6,4 +6,3 @@ build_generator_debug:
|
|||
|
||||
build_generator:
|
||||
./scripts/build_generator.sh --release
|
||||
# cd generator && cargo build --release
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
source ./scripts/check_os.sh
|
||||
|
||||
function apply_generator {
|
||||
if [ -f lua/generator.so ]; then
|
||||
rm lua/generator.so
|
||||
fi
|
||||
|
||||
cp lua/"${1}generator.so" lua/generator.so
|
||||
cp -rf lua/"${os}generator.so" lua/generator.so
|
||||
}
|
||||
|
||||
apply_generator $os
|
||||
|
|
Loading…
Reference in a new issue