maint: makefile

This commit is contained in:
vxclutch
2026-05-27 09:47:54 -04:00
parent 3c0f1a046c
commit fb7d0ee80d
5 changed files with 22 additions and 5 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
lash

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
GO?= go
.PHONY: build lint
all: build
build:
$(GO) build -o lash ./cmd/lash/
lint:
$(GO) fmt ./...
$(GO) vet ./...

View File

@@ -1,6 +1,10 @@
package lash
import "embed"
import (
"embed"
"github.com/google/uuid"
)
//go:embed templates/*
var Templates embed.FS
@@ -8,4 +12,4 @@ var Templates embed.FS
//go:embed version
var Version string
var Token string = "SICK-COOL-TOKEN"
var Token string = uuid.New().String()