forked from saltosystems/winrt-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 750 Bytes
/
Makefile
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
PACKAGE = github.com/saltosystems/winrt-go
PKG ?= ./...
APP ?= winrt-go-gen
BUILD_TAGS ?=
include .go-builder/Makefile
.PHONY: prepare
prepare: $(prepare_targets)
.PHONY: sanity-check
sanity-check: $(sanity_check_targets) check-generated
.PHONY: build
build: $(build_targets)
.PHONY: test
test: $(test_targets) go-test
.PHONY: release
release: $(release_targets)
.PHONY: clean
clean: $(clean_targets)
.PHONY: gen-files
gen-files:
rm -rf $(CURDIR)/windows
go generate github.com/saltosystems/winrt-go/...
.PHONY: check-generated
check-generated: export WINRT_GO_GEN_VALIDATE=1
check-generated:
go generate github.com/saltosystems/winrt-go/...
.PHONY: go-test
go-test:
go test github.com/saltosystems/winrt-go/...