-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 984 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 984 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
PWD:=$(shell pwd)
.PHONY: pack-build
pack-build:
docker build -t avro-nuget-packer ./pack
.PHONY: pack-run
pack-run:
docker run --rm -it --name avro-nuget-packer \
--volume $(PWD)/../avro-nuget-sandbox/contracts:/contracts --volume $(PWD)/artifacts:/artifacts \
avro-nuget-packer \
--package-name=EP.Avro-NuGet-Sandbox.Contracts.FSharp \
--package-version=1.5.0 \
--avro-dir-path=/contracts \
--output-path=./artifacts \
--company=EP \
--authors="Team Void"
#--------- Debugging ---------------------------------------
.PHONY: pack-shell
pack-shell:
docker run --rm -it --name avro-nuget-packer \
--volume $(PWD)/../avro-nuget-sandbox/contracts:/contracts --volume $(PWD)/artifacts:/artifacts \
--entrypoint /bin/sh \
avro-nuget-packer
.PHONY: entrypoint
entrypoint:
./bin/entrypoint.sh --package-name=EP.Avro-NuGet-Sandbox.Contracts --package-version=1.5.0 --avro-dir-path=/contracts --output-path=./artifacts --company=EP --authors="Team Void"