1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-11-27 22:38:42 +02:00

refactor: migrate a bunch more Go-based lexers to XML

Also rename some existing XML lexers to their canonical XML name.
This commit is contained in:
Alec Thomas
2023-09-09 12:29:23 +10:00
parent 4dd2cbef84
commit 40542a6255
63 changed files with 2963 additions and 1343 deletions

View File

@@ -12,10 +12,10 @@ README.md: lexers/*.go lexers/*/*.xml table.py
implicit %{1}%{2}.min.%{3}: **/*.{css,js}
build: esbuild --bundle %{IN} --minify --outfile=%{OUT}
implicit %{1}: cmd/*
implicit build/%{1}: cmd/*
cd cmd/%{1}
inputs: cmd/%{1}/**/* **/*.go
build: go build -ldflags="-X 'main.version=%{VERSION}'" -o ../../%{1} .
build: go build -ldflags="-X 'main.version=%{VERSION}'" -o ../../build/%{1} .
#upload: chromad
# build: