Files
plainleaf/Makefile
T
Matouš Jan FialkaandGitHub 9967cf1fd1 Space Lua: Remove unary plus (#1585)
* Improve documentation on string to number conversion (plus minor fixes of typos)
* Update Lua grammar to disallow unary plus

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2025-10-03 08:28:36 +02:00

40 lines
720 B
Makefile

build:
# Build client
deno task build
# Build plug-compile
deno task build-plug-compile
# Build server
go build
clean:
rm -rf client_bundle/{base_fs,client} dist public_version.ts
rm -f silverbullet
check:
# Frontend type check
deno task check
# Frontend lint
deno task lint
# Backend lint
go vet
fmt:
# Reformat frontend
deno task fmt
# Reformat backend
go fmt
test:
# Run frontend tests
deno task test
# Run backend tests
go test ./server/...
generate:
# Regenerate the Lua parser from the the grammar
deno run -A npm:@lezer/generator@1.5.1 client/space_lua/lua.grammar -o client/space_lua/parse-lua.js
.PHONY: website
website:
SB_INDEX_PAGE=SilverBullet ./silverbullet -p 3001 website