]>
Commit | Line | Data |
---|---|---|
5e8ff485 RBR |
1 | swift_version = 5.3 |
2 | ||
3 | format: | |
4 | swift format -i -r . | |
5 | ||
6 | lint: | |
7 | swift format -m lint -r . | |
8 | ||
9 | docker-build: | |
10 | docker build --force-rm --build-arg swift_version=$(swift_version) -t doapp/do:$(swift_version) . | |
11 | ||
12 | docker-push: docker-build | |
13 | docker push doapp/do:$(swift_version) | |
14 | ||
15 | .PHONY: format lint docker-build docker-push |