File tree Expand file tree Collapse file tree 6 files changed +4
-30
lines changed
Expand file tree Collapse file tree 6 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 11BINDING-NAME := $(shell basename $(shell pwd) )
22
3+ ifeq ($(OS-NAME ) ,windows)
4+ override export PATH := "$(LIBYS)/lib:$$PATH"
5+ endif
6+
37release :: release-deps
48 $(ROOT ) /util/release release-$(BINDING-NAME )
59
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ DEPS := \
1010 $(FPM ) \
1111 $(LIBYAMLSTAR-SO ) \
1212
13- ifeq ($(OS-NAME ) ,windows)
14- override export PATH := "$(LIBYS)/lib:$$PATH"
15- endif
16-
1713
1814test : $(DEPS )
1915 fpm test --flag " -L$( LIBYS) /lib"
Original file line number Diff line number Diff line change @@ -13,23 +13,12 @@ export CGO_LDFLAGS := -L $(ROOT)/libyamlstar/lib
1313endif
1414
1515
16- ifeq ($(OS-NAME ) ,windows)
17- build : $(GO ) $(LIBYAMLSTAR-SO-VERSION ) $(LIBYAMLSTAR-HEADER )
18- PATH=" $( LIBYS) /lib:$$ PATH" go build
19- else
2016build : $(GO ) $(LIBYAMLSTAR-SO-VERSION ) $(LIBYAMLSTAR-HEADER )
2117 go build
22- endif
2318
24- ifeq ($(OS-NAME ) ,windows)
25- test : $(GO ) $(LIBYAMLSTAR-SO-VERSION ) $(LIBYAMLSTAR-HEADER )
26- PATH=" $( LIBYS) /lib:$$ PATH" go test$(if $v, -v)
27- chmod -R u+w $(GOPATH ) 2> /dev/null || true
28- else
2919test : $(GO ) $(LIBYAMLSTAR-SO-VERSION ) $(LIBYAMLSTAR-HEADER )
3020 go test$(if $v, -v)
3121 chmod -R u+w $(GOPATH ) 2> /dev/null || true
32- endif
3322
3423check : $(GO )
3524 go vet
Original file line number Diff line number Diff line change @@ -13,13 +13,8 @@ MAKES-REALCLEAN := \
1313 $(NODE-MODULES ) \
1414
1515
16- ifeq ($(OS-NAME ) ,windows)
17- test : $(NODE-MODULES ) $(LIBYAMLSTAR-SO )
18- PATH=" $( LIBYS) /lib:$$ PATH" node test/test.js
19- else
2016test : $(NODE-MODULES ) $(LIBYAMLSTAR-SO )
2117 node test/test.js
22- endif
2318
2419build : $(LIBYAMLSTAR-SO )
2520
Original file line number Diff line number Diff line change @@ -17,13 +17,8 @@ PYTHON-VENV-SETUP := pip install pytest setuptools twine
1717
1818test : test-pytest
1919
20- ifeq ($(OS-NAME ) ,windows)
21- test-pytest : $(LIBYAMLSTAR-SO ) $(PYTHON-VENV )
22- PATH=" $( LIBYS) /lib:$$ PATH" $(VENV ) && pytest test/
23- else
2420test-pytest : $(LIBYAMLSTAR-SO ) $(PYTHON-VENV )
2521 $(VENV ) && pytest test/
26- endif
2722
2823build : $(LIBYAMLSTAR-SO )
2924
Original file line number Diff line number Diff line change @@ -8,13 +8,8 @@ MAKES-CLEAN := \
88 target \
99
1010
11- ifeq ($(OS-NAME ) ,windows)
12- test : $(CARGO ) $(LIBYAMLSTAR-SO )
13- PATH=" $( LIBYS) /lib:$$ PATH" cargo $@
14- else
1511test : $(CARGO ) $(LIBYAMLSTAR-SO )
1612 cargo $@
17- endif
1813
1914build check clippy fmt : $(CARGO )
2015 cargo $@
You can’t perform that action at this time.
0 commit comments