Skip to content

Commit 9945355

Browse files
committed
Some indent
...
1 parent d4a9696 commit 9945355

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rsrc2swift.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ FILE_SIZE="$(wc -c <"$RESOURCE_FILE")"
1818

1919
nicename="$(basename ${RESOURCE_FILE} | sed 's/\./_/g' | sed 's/\-/_/g')"
2020

21-
echo "public static let raw_len_${nicename} = ${FILE_SIZE}" >> "${TARGET_FILE}"
21+
echo " public static let raw_len_${nicename} = ${FILE_SIZE}" >> "${TARGET_FILE}"
2222

23-
echo -n "public static let ${nicename} : String = \"" >> "${TARGET_FILE}"
23+
echo -n " public static let ${nicename} : String = \"" >> "${TARGET_FILE}"
2424

2525
echo -n $(gzip --stdout "${RESOURCE_FILE}" | base64) >> "${TARGET_FILE}"
2626

2727
echo "\"" >> "${TARGET_FILE}"
28-
echo "public static let data_${nicename} = Data(base64Encoded: ${nicename})!" >> "${TARGET_FILE}"
28+
echo " public static let data_${nicename} = Data(base64Encoded: ${nicename})!" >> "${TARGET_FILE}"

0 commit comments

Comments
 (0)