|
2 | 2 |
|
3 | 3 | > This README is TODO. If you'd like to use this software in a project, **don't hestiate to reach out to me.**
|
4 | 4 |
|
5 |
| -Tree query is a tool that searches across indented lines. |
| 5 | +`tree-query` is a tool that lets you execute queries on ordinary directories of files like text and Markdown, inspired by Roam Research's query syntax. |
6 | 6 |
|
7 | 7 | It is a replacement for Roam's query system. It supports everything Roam does, except for block references.
|
8 | 8 |
|
@@ -44,26 +44,26 @@ On FreeBSD, GNU+Linux, and macOS, open Terminal and go:
|
44 | 44 | curl https://dlang.org/install.sh | bash -s
|
45 | 45 | ```
|
46 | 46 |
|
47 |
| -On Windows, download and install [Git Bash](https://gitforwindows.org/), then run: |
| 47 | +On Windows, download and install [Git Bash](https://gitforwindows.org/) and [7-Zip to C:\Program Files](https://www.7-zip.org/), then run: |
48 | 48 | ```
|
49 | 49 | mkdir %USERPROFILE%\dlang
|
50 |
| -powershell.exe -Command "wget https://dlang.org/install.sh -OutFile %USERPROFILE%\dlang\install.sh" |
| 50 | +set PATH="%PATH%;C:\Program Files\7-Zip" |
| 51 | +set BASH="\Program Files\Git\usr\bin\bash.exe" |
| 52 | +mkdir dlang |
| 53 | +powershell.exe -Command "wget https://dlang.org/install.sh -OutFile dlang\install.sh" |
51 | 54 | ```
|
52 | 55 |
|
53 | 56 | Then:
|
54 |
| - |
55 | 57 | ```
|
56 |
| -set PATH=%PATH%;C:\Program Files\7-Zip |
57 |
| -set BASH="\Program Files\Git\usr\bin\bash.exe |
58 |
| -~/dlang/install.sh install ldc-1.23.0,dub |
| 58 | +~/dlang/install.sh install ldc-1.23.0 |
59 | 59 | ```
|
60 | 60 |
|
61 |
| -Then `cd` into the directory where you cloned this directory and type: |
| 61 | +Then `cd` into the directory where you cloned this directory (`git clone https://github.com/CrazyPython/tree-query.git && cd tree-query`) and type: |
62 | 62 | ```
|
63 |
| -make tree-query-build |
| 63 | +~/dlang/ldc-1.23.0/bin/ldc2 --link-defaultlib-shared=false -O2 -release tree-query.d interp.d query.d parser.d |
64 | 64 | ```
|
65 | 65 |
|
66 |
| -Install to make available eveywhere: |
| 66 | +(Non-Windows) Install to make available eveywhere: |
67 | 67 | ```
|
68 | 68 | chmod 700 tree-query
|
69 | 69 | sudo mv tree-query /usr/local/bin
|
|
0 commit comments