forked from frain-dev/convoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 702 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# init-hooks sets up git to recognise the .githooks directory as the hooks path for this repo
# it also makes all scripts in the .githooks folder executable
init-hooks:
git config core.hooksPath .githooks
chmod +x .githooks/*
mockgen:
go generate ./...
setup: init-hooks
ui_install:
scripts/ui.sh -b $(type)
build:
scripts/build.sh -b $(type)
integration_tests:
go run ./cmd migrate up
go test -tags integration -p 1 ./...
docker_e2e_tests:
go test -tags docker_testcon -p 1 ./...
generate_migration_time:
@date +"%Y%m%d%H%M%S"
generate_docs:
swag init --generatedTime --parseDependency --parseInternal -d api/ api/*
run_dependencies:
docker compose -f docker-compose.dep.yml up -d