initial commit
All checks were successful
Build and publish the docker image / build (push) Successful in 58s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-04-05 09:58:58 +03:00
commit 4df8b90dae
26 changed files with 1530 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
SCSS = $(wildcard static/css/*.scss)
CSS = $(patsubst %.scss,%.css,$(SCSS))
GOSRCS = $(wildcard *.go) $(wildcard */*.go)
CGO_ENABLED = 1
all: tren.elf
tren.elf: $(CSS) $(GOSRCS)
CGO_ENABLED=$(CGO_ENABLED) go build -o $@
%.css: %.scss
sassc $^ $@
format:
gofmt -s -w .
clean:
rm *.elf
.PHONY: format clean