CLI interface to medialist (fossil mirror)
Revisão | 12d3c7326eda729d2e6e9bb6f13c6d88bea1fef0 (tree) |
---|---|
Hora | 2023-04-06 19:44:13 |
Autor | mio <stigma@disr...> |
Commiter | mio |
Update documentation for v0.4
FossilOrigin-Name: eaade07276a3e0e196c97df84cb805d911489c25e1b16ed54db4642376cfd5a4
@@ -1,19 +1,17 @@ | ||
1 | -========== | |
2 | -= = | |
3 | -= Binary = | |
4 | -= = | |
5 | -========== | |
1 | += Binary | |
6 | 2 | |
7 | 3 | To build a platform-specific binary, the only requirements are: |
8 | -A D compiler, and GNU Make. | |
4 | +A D compiler, and either GNU Make. | |
9 | 5 | |
10 | 6 | With these installed, you can just run "make" to create the binary. |
7 | +Alternatively, if you can run "dub build -b release" if you have dub | |
8 | +installed. | |
11 | 9 | |
12 | 10 | If you wish to install the binary, run "make install" (you may need root |
13 | 11 | priviledge). |
14 | 12 | |
15 | -To configure the compilation and installation, you can use the following | |
16 | -environment variables: | |
13 | +To configure the compilation (when using GNU Make) and installation, you | |
14 | +can use the following environment variables: | |
17 | 15 | |
18 | 16 | - DC (The D compiler to use) |
19 | 17 | - DFLAGS (Flags to use when compiling medialist-cli) |
@@ -26,36 +24,7 @@ You can simply run "make install" with root permission (sudo, doas, | ||
26 | 24 | etc.) to build and install medialist-cli. By default it will try |
27 | 25 | compile with GDC, but you can change this. For example: |
28 | 26 | |
29 | - make install DC=ldc2 DFLAGS="-I src/ --release -O" | |
27 | + make install DC=ldc2 | |
30 | 28 | |
31 | 29 | You can also run "make clean" to remove the any files created, and |
32 | 30 | "make uninstall" which will uninstall medialist-cli. |
33 | - | |
34 | - | |
35 | -============ | |
36 | -= = | |
37 | -= AppImage = | |
38 | -= = | |
39 | -============ | |
40 | - | |
41 | -A shell script is provided which should automate the process of | |
42 | -creating the .AppImage for your computer. To build the AppImage there | |
43 | -are a few requirements: | |
44 | - | |
45 | -* A D compiler that can compile medialist-cli | |
46 | -* wget | |
47 | -* ldd | |
48 | -* sed | |
49 | -* cut | |
50 | -* grep | |
51 | - | |
52 | -Everything except the D compiler should be available by default on | |
53 | -GNU/Linux. | |
54 | - | |
55 | -Once the requirements are installed, simply run the MakeAppImage | |
56 | -script and an output file should be created along the lines of | |
57 | -medialist-cli-x86_64.AppImage. Depending on the architecture of your | |
58 | -computer, the x86_64 may be something else. | |
59 | - | |
60 | -To clean up the files created by the script, run | |
61 | -"./MakeAppImage --clean". |
@@ -1,7 +1,7 @@ | ||
1 | 1 | \input texinfo @c -*-texinfo-*- |
2 | 2 | |
3 | 3 | @set VERSION 0.4 |
4 | -@set UPDATED 2022-04-04 | |
4 | +@set UPDATED 2022-04-06 | |
5 | 5 | |
6 | 6 | @settitle MediaList @value{VERSION} |
7 | 7 | @syncodeindex pg cp |
@@ -1,4 +1,4 @@ | ||
1 | -.TH MEDIALIST-CLI 1 "2023-04-04" "0.4" "MediaList CLI" | |
1 | +.TH MEDIALIST-CLI 1 "2023-04-06" "0.4" "MediaList CLI" | |
2 | 2 | .SH NAME |
3 | 3 | medialist-cli \- CLI for MediaList |
4 | 4 | .SH SYNOPSIS |