]>
Commit | Line | Data |
---|---|---|
6c2cdbc5 RBR |
1 | #!/usr/bin/env sh |
2 | ||
3 | set -e | |
4 | ||
5 | echo "Starting build with configuration ${configuration}" > /dev/stderr | |
6 | echo "Quicksilver path is: ${quicksilver_path}" > /dev/stderr | |
7 | pushd "${quicksilver_path}" | |
8 | echo "Starting build at `pwd`" > /dev/stderr | |
9 | xcodebuild \ | |
10 | -quiet \ | |
11 | -destination generic/platform=macos \ | |
12 | -configuration "${configuration}" \ | |
13 | -scheme 'Quicksilver Distribution' \ | |
14 | build | |
15 | popd | |
16 | echo "Building `pwd`" > /dev/stderr | |
17 | xcodebuild \ | |
18 | -quiet \ | |
19 | -destination generic/platform=macos \ | |
20 | -configuration "${configuration}" \ | |
21 | -scheme 'Flat Bezel' \ | |
22 | build | |
23 | ||
24 | echo "Build complete, signing." > /dev/stderr | |
25 | output_path="/tmp/QS/build/Release/Quicksilver.app/Contents/PlugIns/" | |
26 | plugin_name="Flat Bezel.qsplugin" | |
27 | codesign --force -vvv --deep --sign ${SIGNING_IDENTITY} "${output_path}${plugin_name}" | |
28 | ||
29 | echo "Signing complete, archiving." > /dev/stderr | |
30 | archive_name="Flat_Bezel.qsplugin.tar.gz" | |
31 | pushd "${output_path}" | |
32 | tar -czvf "${archive_name}" "${plugin_name}" | |
33 | popd | |
34 | mv "${output_path}${archive_name}" . | |
35 | echo "Done." > /dev/stderr |