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 build = ./build/expensesweb
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha
build_release_alpine: build_release_alpine:
rm -rf build && mkdir -p $(build) rm -rf build && mkdir -p $(build)
@@ -32,3 +30,6 @@ test:
go test -coverprofile=coverage.out ./... go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html go tool cover -html=coverage.out -o coverage.html
rm ./coverage.out rm ./coverage.out
build_db_image:
make -C ./pgImage build
+1 -1
View File
@@ -1,8 +1,8 @@
# DOING # DOING
Migrating to postgres
Refactor how the models access the database (move the Tx creation to the models) Refactor how the models access the database (move the Tx creation to the models)
Refactor the Makefiles Refactor the Makefiles
Refactor the App start function Refactor the App start function
Add NIF columns to stores and to users
# TODO # TODO
- [ ] On the categories page, add a column of how many times a given category is - [ ] 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 service = expenses-pgdb
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha
image = $(service) image = $(service)
container = $(image)-container container = $(image)-container
@@ -34,3 +32,6 @@ test: remove-dev-container
--env-file .env \ --env-file .env \
-v ./pgsql-data-dev/:/var/lib/postgresql/data/ \ -v ./pgsql-data-dev/:/var/lib/postgresql/data/ \
-it $(image) -it $(image)
build_image:
make -C ./
+3
View File
@@ -0,0 +1,3 @@
registry = dir.esilva.org
repo = esilva
tag = v0.0.81-alpha