Patrick Thomson
931d0c2600
fix warning and use implicit return here
2020-09-15 13:22:22 -04:00
Patrick Thomson
71f5908806
Max's suggestions.
2020-09-15 13:08:03 -04:00
Patrick Thomson
865f59ad74
No need for platformish logic in build.rs.
2020-09-08 09:23:54 -04:00
Patrick Thomson
660fe86300
web_ui and playground.js are always there.
2020-09-08 09:15:00 -04:00
Patrick Thomson
92a17e782f
Conditionally compile with a cfg variable instead.
2020-09-02 15:32:12 -04:00
Patrick Thomson
6256110bd2
simplest changes, just error in the build
2020-09-02 13:31:29 -04:00
Matthew Krupcale
276d3cb5ad
tree-sitter-cli: build: add support for git submodules ( #422 )
...
The .git file can contain a reference to the actual git directory as is commonly the case for a submodule[1]. When this is the case, read the .git file to discover the actual git directory.
* cli/build.rs: Read the .git file to discover the git directory
[1] https://git-scm.com/docs/gitrepository-layout
2019-08-12 14:11:59 -07:00
Max Brunsfeld
fa68ef4cea
Make git sha optional at build time
...
Fixes #352
2019-06-06 13:12:53 -07:00
Max Brunsfeld
6194dfc247
Don't rely on PWD to find .git folder in build script
2019-02-05 11:55:12 -08:00
Max Brunsfeld
ed195de8b6
rustfmt
2019-01-17 17:16:04 -08:00
Max Brunsfeld
c204b5e728
Print help/version info when run w/ no subcommand
2019-01-17 15:17:36 -08:00
Max Brunsfeld
e64f7a64a1
Start work on running test corpus tests
2019-01-11 13:31:06 -08:00