Cybersecurity-Projects/PROJECTS/intermediate/security-news-scraper/justfile

34 lines
391 B
Makefile

# ©AngelaMos | 2026
# justfile
set shell := ["bash", "-cu"]
binary := "nadezhda"
default:
@just --list
build:
go build -o {{binary}} ./cmd/nadezhda
run *args:
go run ./cmd/nadezhda {{args}}
test:
go test ./...
vet:
go vet ./...
fmt:
gofmt -w .
lint: vet
test -z "$(gofmt -l .)"
tidy:
go mod tidy
clean:
rm -f {{binary}} *.db *.db-wal *.db-shm