docker-tor-hidden-service/Makefile

29 lines
503 B
Makefile
Raw Normal View History

2019-04-03 16:11:09 +02:00
.EXPORT_ALL_VARIABLES:
TOR_VERSION = $(shell bash last_tor_version.sh)
2017-08-21 09:29:49 +02:00
test:
tox
2019-04-03 16:11:09 +02:00
tag:
2019-04-29 23:23:30 +02:00
git tag v$(TOR_VERSION) -f
2019-04-03 16:11:09 +02:00
2017-08-21 09:29:49 +02:00
check:
pre-commit run --all-files
build:
2019-04-03 16:11:09 +02:00
- echo build with tor version $(TOR_VERSION)
docker-compose -f docker-compose.build.yml build
2017-08-21 09:29:49 +02:00
2019-04-03 16:11:09 +02:00
rebuild:
docker-compose -f docker-compose.build.yml build --no-cache
2017-08-21 09:29:49 +02:00
2019-04-03 16:11:09 +02:00
run: build
docker-compose -f docker-compose-v1.yml up
2017-08-21 09:29:49 +02:00
2019-04-03 16:11:09 +02:00
run-v2: build
2017-08-21 09:29:49 +02:00
docker-compose -f docker-compose.v2.yml up
2019-04-03 16:11:09 +02:00
run-v3: build
2017-08-21 09:29:49 +02:00
docker-compose -f docker-compose.v3.yml up