A bit of Makefile improvements

This commit is contained in:
2025-09-05 23:43:46 +01:00
parent 6b719cb0ef
commit 693f5a46a9
4 changed files with 12 additions and 7 deletions
+4 -3
View File
@@ -1,7 +1,5 @@
include vars.mk
build = ./build/expensesweb
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha
build_release_alpine:
rm -rf build && mkdir -p $(build)
@@ -32,3 +30,6 @@ test:
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
rm ./coverage.out
build_db_image:
make -C ./pgImage build
+1 -1
View File
@@ -1,8 +1,8 @@
# DOING
Migrating to postgres
Refactor how the models access the database (move the Tx creation to the models)
Refactor the Makefiles
Refactor the App start function
Add NIF columns to stores and to users
# TODO
- [ ] On the categories page, add a column of how many times a given category is
+4 -3
View File
@@ -1,7 +1,5 @@
include ../vars.mk
service = expenses-pgdb
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha
image = $(service)
container = $(image)-container
@@ -34,3 +32,6 @@ test: remove-dev-container
--env-file .env \
-v ./pgsql-data-dev/:/var/lib/postgresql/data/ \
-it $(image)
build_image:
make -C ./
+3
View File
@@ -0,0 +1,3 @@
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha