Compare commits
1 commit
74452c80e8
...
5c80de87a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c80de87a0 |
5 changed files with 1 additions and 55 deletions
27
.gitignore
vendored
27
.gitignore
vendored
|
|
@ -1,27 +0,0 @@
|
|||
# Binaries
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool
|
||||
*.out
|
||||
|
||||
# Dependency directories
|
||||
vendor/
|
||||
|
||||
# Go build cache
|
||||
$(GOPATH)/pkg/
|
||||
|
||||
# Build artifacts
|
||||
build/
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
17
Makefile
17
Makefile
|
|
@ -1,17 +0,0 @@
|
|||
.PHONY: build run test clean
|
||||
|
||||
APP_NAME := testbed2
|
||||
BUILD_DIR := build
|
||||
|
||||
build:
|
||||
go build -o $(BUILD_DIR)/$(APP_NAME) .
|
||||
|
||||
run: build
|
||||
./$(BUILD_DIR)/$(APP_NAME)
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
go clean -cache
|
||||
2
go.mod
2
go.mod
|
|
@ -1,3 +1,3 @@
|
|||
module github.com/marmaduke/testbed2
|
||||
|
||||
go 1.24
|
||||
go 1.21
|
||||
|
|
|
|||
3
main.go
3
main.go
|
|
@ -1,3 +0,0 @@
|
|||
package main
|
||||
|
||||
func main() {}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestModule(t *testing.T) {
|
||||
// Basic test to verify module initialization
|
||||
}
|
||||
Loading…
Reference in a new issue