Files
swift-mqtt-dewpoint/Makefile
Michael Housh 9e2af22a36
All checks were successful
CI / Run Tests (push) Successful in 15m25s
feat: Fix CI
2024-11-14 21:36:56 -05:00

24 lines
497 B
Makefile
Executable File

bootstrap-env:
@cp Bootstrap/dewPoint-env-example .dewPoint-env
bootstrap-topics:
@cp Bootstrap/topics-example .topics
bootstrap: bootstrap-env bootstrap-topics
build:
@swift build -Xswiftc -strict-concurrency=complete
clean:
rm -rf .build
run:
@swift run dewpoint-controller
test-docker:
@docker compose --file docker/docker-compose-test.yaml \
--project-directory "${PWD}" \
run --build --remove-orphans -i --rm test
@docker compose --file docker/docker-compose-test.yaml down