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