First commit.

master
Zed A. Shaw 1 month ago
parent cf0009a64e
commit 7ef9b52bc1
  1. 34
      .gitignore
  2. 24
      Makefile
  3. 3
      go.mod
  4. 10
      main.go

34
.gitignore vendored

@ -0,0 +1,34 @@
# ---> Vim
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
backup
*.exe
*.dll
*.world
coverage
coverage/*
.venv
*.gz
public
*.idx
*.sqlite3
jankifier
*.log

@ -0,0 +1,24 @@
build:
go build .
test:
go test MY/webapp/tests -c
./tests.test
test_only:
go test . -c -o
./tests.test -test.run TestSomePage
docs:
pkgsite --open
coverage:
go build -cover -o webapp
mkdir -p .coverage
echo "GOCOVERDIR=.coverage ./webapp"
cover_report:
go tool covdata textfmt -i=.coverage -o coverage.txt
go tool cover -func=coverage.txt
go tool cover -html=coverage.txt -o coverage.html
open coverage.html

@ -0,0 +1,3 @@
module lcthw.dev/go/jankifier
go 1.25.3

@ -0,0 +1,10 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("hello")
}
Loading…
Cancel
Save