Skip to content

Commit

Permalink
okay so we'll just manually install the tools, fk it
Browse files Browse the repository at this point in the history
  • Loading branch information
YashdalfTheGray committed Aug 19, 2023
1 parent 66be518 commit f2efbe2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 289 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,28 @@ all: coverage
# go list is the canonical utility to find go files
GOFILES := $(shell go list -f '{{ join .GoFiles "\n" }}' ./...)

GOACC := $(shell command -v go-acc 2> /dev/null)
GOBENCHDATA := $(shell command -v gobenchdata 2> /dev/null)

test:
go test -covermode=atomic -coverpkg=all ./...

benchmark:
go test -bench=. ./...

benchdata-gen:
ifndef GOBENCHDATA
go install go.bobheadxi.dev/gobenchdata@latest
endif
go test -bench . -benchmem ./... | gobenchdata --append --json benchmarks.json

benchdata-serve: benchdata-gen
gobenchdata web serve

coverage: .artifacts-stamp
ifndef GOACC
go install github.com/ory/go-acc@latest
endif
go-acc -o artifacts/c.out ./...
go tool cover -html=artifacts/c.out -o artifacts/coverage.html

Expand Down
38 changes: 0 additions & 38 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,41 +1,3 @@
module github.com/YashdalfTheGray/colorcode

go 1.20

require (
github.com/ory/go-acc v0.2.8
go.bobheadxi.dev/gobenchdata v1.3.1
)

require (
github.com/antonmedv/expr v1.10.5 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/dgraph-io/ristretto v0.0.2 // indirect
github.com/djherbis/buffer v1.2.0 // indirect
github.com/djherbis/nio/v3 v3.0.1 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/mapstructure v1.3.2 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/ory/viper v1.7.5 // indirect
github.com/pborman/uuid v1.2.0 // indirect
github.com/pelletier/go-toml v1.8.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/cobra v1.0.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
go.bobheadxi.dev/streamline v1.2.1 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
gopkg.in/ini.v1 v1.57.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

0 comments on commit f2efbe2

Please sign in to comment.