Skip to content

Commit 61814b4

Browse files
committed
Remove build-lib script, recommend make
1 parent 862b56d commit 61814b4

File tree

3 files changed

+3
-29
lines changed

3 files changed

+3
-29
lines changed

docs/section-2-using-parsers.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ All of the API functions shown here are declared and documented in the [`tree_si
1515

1616
### Building the Library
1717

18-
To build the library on a POSIX system, run this script, which will create a static library called `libtree-sitter.a` in the Tree-sitter folder:
18+
To build the library on a POSIX system, just run `make` in the Tree-sitter directory. This will create a static library called `libtree-sitter.a` as well as dynamic libraries.
1919

20-
```sh
21-
script/build-lib
22-
```
23-
24-
Alternatively, you can use the library in a larger project by adding one source file to the project. This source file needs two directories to be in the include path when compiled:
20+
Alternatively, you can incorporate the library in a larger project's build system by adding one source file to the build. This source file needs two directories to be in the include path when compiled:
2521

2622
**source file:**
2723

script/build-fuzzers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CFLAGS=${CFLAGS:-"$default_fuzz_flags"}
2121
CXXFLAGS=${CXXFLAGS:-"$default_fuzz_flags"}
2222

2323
export CFLAGS
24-
script/build-lib
24+
make
2525

2626
if [ -z "$@" ]; then
2727
languages=$(ls test/fixtures/grammars)

script/build-lib

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)