diff options
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | src/cmd/main.go (renamed from src/cmd/papod.go) | 0 | ||||
-rw-r--r-- | src/lib.go (renamed from src/papod.go) | 0 | ||||
-rw-r--r-- | tests/lib_test.go (renamed from tests/papod_test.go) | 0 |
4 files changed, 9 insertions, 9 deletions
@@ -38,15 +38,15 @@ all: include deps.mk sources = \ - src/$(NAME).go \ - src/cmd/$(NAME).go \ + src/lib.go \ + src/cmd/main.go \ $(sources.static) \ $(sources.sql) \ derived-assets = \ $(NAME).bin \ - tests/$(NAME)_test.bin \ + tests/lib_test.bin \ side-assets = \ papo.public.socket \ @@ -61,16 +61,16 @@ side-assets = \ all: $(derived-assets) -$(NAME).bin: src/$(NAME).go src/cmd/$(NAME).go Makefile - go build -o $@ -v src/cmd/$(NAME).go +$(NAME).bin: src/lib.go src/cmd/main.go Makefile + go build -o $@ -v src/cmd/main.go -tests/$(NAME)_test.bin: src/$(NAME).go tests/$(NAME)_test.go Makefile - go test -c -o $@ -v tests/$(NAME)_test.go +tests/lib_test.bin: src/lib.go tests/lib_test.go Makefile + go test -c -o $@ -v $*.go -check-unit: tests/$(NAME)_test.bin - ./tests/$(NAME)_test.bin +check-unit: tests/lib_test.bin + ./tests/lib_test.bin integration-tests = \ diff --git a/src/cmd/papod.go b/src/cmd/main.go index 2f78c4d..2f78c4d 100644 --- a/src/cmd/papod.go +++ b/src/cmd/main.go diff --git a/src/papod.go b/src/lib.go index 38f6d4c..38f6d4c 100644 --- a/src/papod.go +++ b/src/lib.go diff --git a/tests/papod_test.go b/tests/lib_test.go index 9b7cd9f..9b7cd9f 100644 --- a/tests/papod_test.go +++ b/tests/lib_test.go |