File tree 1 file changed +4
-15
lines changed
1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1
1
CONFIGURATION ?= debug
2
2
3
- .PHONY : TestSuites/.build/ $( CONFIGURATION ) /PrimaryTests
4
- TestSuites/.build/$(CONFIGURATION ) /PrimaryTests :
3
+ FORCE :
4
+ TestSuites/.build/$(CONFIGURATION ) /% : FORCE
5
5
swift build --package-path TestSuites \
6
- --product PrimaryTests \
6
+ --product $( notdir $@ ) \
7
7
--triple wasm32-unknown-wasi \
8
8
--configuration $(CONFIGURATION )
9
9
10
- .PHONY : TestSuites/.build/$(CONFIGURATION ) /BenchmarkTests
11
- TestSuites/.build/$(CONFIGURATION ) /BenchmarkTests :
12
- swift build --package-path TestSuites \
13
- --product BenchmarkTests \
14
- --triple wasm32-unknown-wasi \
15
- --configuration $(CONFIGURATION )
16
-
17
- dist/PrimaryTests.wasm : TestSuites/.build/$(CONFIGURATION ) /PrimaryTests
18
- mkdir -p dist
19
- cp $< $@
20
-
21
- dist/BenchmarkTests.wasm : TestSuites/.build/$(CONFIGURATION ) /BenchmarkTests
10
+ dist/% .wasm : TestSuites/.build/$(CONFIGURATION ) /%
22
11
mkdir -p dist
23
12
cp $< $@
24
13
You can’t perform that action at this time.
0 commit comments