A bit of Makefile improvements
This commit is contained in:
+4
-3
@@ -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
@@ -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
|
||||
|
||||
@@ -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 ./
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
registry = dir.esilva.org
|
||||
repo = esilva
|
||||
tag = v0.0.81-alpha
|
||||
Reference in New Issue
Block a user