-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (22 loc) · 502 Bytes
/
Makefile
File metadata and controls
38 lines (22 loc) · 502 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
33
34
35
36
37
38
docker=/usr/bin/docker
name=bandcampsync
image=$(name):latest
container:
$(docker) build -t $(image) .
runcontainer:
$(docker) run --rm --name $(name) --env-file dev.env -ti -v ./docker-config:/config -v ./docker-downloads:/downloads $(image)
run:
mkdir -p ./docker-downloads
cp ./bin/bandcampsync ./bcs
uv run ./bcs -c cookies.txt -d docker-downloads
rm ./bcs
test:
uv run python -m pytest -v
lint:
uvx ruff check
format:
uvx ruff format
build:
uv build
publish:
uv publish