chore: compile to `htmlq`

main
Guilian 2025-01-20 17:16:02 +01:00
parent 94f7694c1e
commit 9fd8b3e15d
Signed by: Guilian
GPG Key ID: B86CC9678982ED8C
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
*.luastatic.c
# Compiled executable from main.lua
main
# Same but with correct name
htmlq

View File

@ -78,7 +78,7 @@ luarocks install luastatic
Once `luastatic` is installed, you can compile Htmlq by running the following command in your terminal, from the project's root directory:
```
luastatic main.lua css.lua html.lua logging.lua /usr/lib/liblua5.4.so
luastatic main.lua css.lua html.lua logging.lua /usr/lib/liblua5.4.so -o htmlq
```
Note that all `.lua` files from the project need to be specified, with `main.lua` as the first one. Also, the path to `liblua` may vary according to your system. The example provided is for an installation on EndeavourOS.