mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lint
This commit is contained in:
parent
7a3602378f
commit
e9b420dba5
@ -34,7 +34,7 @@ curl "https://codeload.github.com/tree-sitter/tree-sitter-c/tar.gz/v0.15.2" -o t
|
|||||||
tar xf tree_sitter_c.tar.gz
|
tar xf tree_sitter_c.tar.gz
|
||||||
cd tree-sitter-c-0.15.2
|
cd tree-sitter-c-0.15.2
|
||||||
export TREE_SITTER_DIR=$HOME/tree-sitter-build/
|
export TREE_SITTER_DIR=$HOME/tree-sitter-build/
|
||||||
mkdir -p $TREE_SITTER_DIR/bin
|
mkdir -p "$TREE_SITTER_DIR/bin"
|
||||||
|
|
||||||
if [[ "$BUILD_32BIT" != "ON" ]]; then
|
if [[ "$BUILD_32BIT" != "ON" ]]; then
|
||||||
# builds c parser in $HOME/tree-sitter-build/bin/c.(so|dylib)
|
# builds c parser in $HOME/tree-sitter-build/bin/c.(so|dylib)
|
||||||
@ -42,5 +42,5 @@ if [[ "$BUILD_32BIT" != "ON" ]]; then
|
|||||||
else
|
else
|
||||||
# no tree-sitter binary for 32bit linux, so fake it (no tree-sitter unit tests)
|
# no tree-sitter binary for 32bit linux, so fake it (no tree-sitter unit tests)
|
||||||
cd src/
|
cd src/
|
||||||
gcc -m32 -o $TREE_SITTER_DIR/bin/c.so -shared parser.c -I.
|
gcc -m32 -o "$TREE_SITTER_DIR/bin/c.so" -shared parser.c -I.
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user