all repos

onasty @ d865e7d6265be7ad6c232959c3206aa9bee93fa0

a one-time notes service

onasty/Taskfile.yml(view raw)

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
version: "3"

dotenv:
  - ".env"

includes:
  migrate: ./migrations/Taskfile.yml

tasks:
  run:
    - docker compose up -d --build --remove-orphans core mailer

  lint:
    - golangci-lint run

  docker:up:
    - docker compose up -d --build --remove-orphans

  docker:down:
    aliases: [docker:stop]
    cmds:
      - docker compose stop

  test:
    - task: test:unit
    - task: test:e2e

  test:unit:
    - go test --count=1 -v --short ./...

  test:e2e:
    - go test --count=1 -v ./e2e/