-
Notifications
You must be signed in to change notification settings - Fork 6
/
INSTALL
39 lines (20 loc) · 777 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
### PREREQUISITES
To build and run Brat, you will need:
+ A C compiler
### INSTALLATION
There are two scripts in the to facilitate building Brat: build.sh and install.sh
First run build.sh:
./build.sh
If all goes well, you will have a local version of Brat which you can run.
Try running the tests via:
./brat test/test.brat
To install to your system:
sudo ./install.sh
The default location is in /usr. If you want to install Brat somewhere else, you can specify it as an argument to install.sh:
sudo ./install.sh /usr/local
To uninstall, should the need ever arise (unlikely):
sudo ./uninstall.sh
### Syntax highlighting
For VIM, copy extras/brat.vim to ~/.vim/syntax/
and then add this to ~/.vimrc:
au BufNewFile,BufRead *.brat set filetype=brat