mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
fixup! fixup! Strip binary when building for release
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ RUN swift build $SWIFT_FLAGS
|
||||
RUN mkdir -p /executables
|
||||
RUN for executable in $(swift package completion-tool list-executables); do \
|
||||
install -v `swift build $SWIFT_FLAGS --show-bin-path`/$executable /executables; \
|
||||
strip -rSTX /executables/$executable \
|
||||
strip -rSTX /executables/$executable; \
|
||||
done
|
||||
|
||||
# runtime image
|
||||
|
||||
@@ -20,7 +20,7 @@ RUN swift build $SWIFT_FLAGS
|
||||
RUN mkdir -p /executables
|
||||
RUN for executable in $(swift package completion-tool list-executables); do \
|
||||
install -v `swift build $SWIFT_FLAGS --show-bin-path`/$executable /executables; \
|
||||
strip -rSTX /executables/$executable \
|
||||
strip -rSTX /executables/$executable; \
|
||||
done
|
||||
|
||||
# runtime image
|
||||
|
||||
Reference in New Issue
Block a user