Skip to content

Commit 31bfef4

Browse files
authored
Print the Swift version before building (#286)
With the changes in this PR, we'll print the Swift version before building. This mirrors a similar change in container, introduced in apple/container#550.
1 parent a41dbd4 commit 31bfef4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ release: all
4444
.PHONY: containerization
4545
containerization:
4646
@echo Building containerization binaries...
47+
@$(SWIFT) --version
4748
@$(SWIFT) build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION)
4849

4950
@echo Copying containerization binaries...

vminitd/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ all:
3838
@mkdir -p ./bin/
3939
@rm -f ./bin/vminitd
4040
@rm -f ./bin/vmexec
41+
@swift --version
4142
@swift build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION)
4243
@install "$(VMINITD_BIN_PATH)/vminitd" ./bin/
4344
@install "$(VMINITD_BIN_PATH)/vmexec" ./bin/

0 commit comments

Comments
 (0)