Lines Matching +full:- +full:rf
3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2023 Gavin D. Howard and contributors.
30 # This script requires some non-POSIX utilities, but that's okay because it's
33 # The non-POSIX utilities include:
60 printf "$ stat -c '%%s %%n'\n" "$f"
61 stat -c '%s %n' "$f"
63 if [ -f "$f.sig" ]; then
64 rm -f "$f.sig"
67 gpg --detach-sig -o "$f.sig" "$f" 2> /dev/null
76 printf "$ stat -c '%%s %%n'\n" "$f.sig"
77 stat -c '%s %n' "$f.sig"
90 if [ ! -f "../vs.zip" ]; then
100 version=$(cat include/version.h | grep "VERSION " - | awk '{ print $3 }' -)
103 projver="${proj}-${version}"
106 rm -rf $tempdir
107 mkdir -p $tempdir
115 if git rev-parse "$version" > /dev/null 2>&1; then
116 git push --delete origin "$version" > /dev/null 2> /dev/null
117 git tag --delete "$version" > /dev/null 2> /dev/null
121 git tg "$version" -m "$tag_msg" > /dev/null 2> /dev/null
122 git push --tags > /dev/null 2> /dev/null
125 ignores=$(git check-ignore * **/*)
127 cp -r ./* "$tempdir"
133 rm -rf "./$i"
180 rm -rf "./$i"
188 if [ -f "$projver.tar.gz" ]; then
189 rm -rf "$projver.tar.gz"
192 if [ -f "$projver.tar.gz.sig" ]; then
193 rm -rf "$projver.tar.gz.sig"
196 if [ -f "$projver.tar.xz" ]; then
197 rm -rf "$projver.tar.xz"
200 if [ -f "$projver.tar.xz.sig" ]; then
201 rm -rf "$projver.tar.xz.sig"
206 gzip -k "$projver.tar"
208 xz -z -v -9 -e "$projver.tar" > /dev/null 2> /dev/null
214 if [ -d windows ]; then
215 rm -rf windows
218 if [ -f windows.zip ]; then
219 rm -rf $projver-windows.zip
227 rm -rf windows/*.vcxproj.user
228 rm -rf windows/src2
229 rm -rf windows/tests
230 rm -rf windows/*.sln
231 rm -rf windows/*.vcxproj
232 rm -rf windows/*.vcxproj.filters
234 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/*.obj
235 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/*.iobj
236 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.exe.recipe
237 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.ilk
238 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.log
239 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.tlog
240 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.pdb
241 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.ipdb
242 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.vcxproj.FileListAbsolute.txt
243 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/bc.Build.CppClean.log
244 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/strgen.exe
245 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/vc142.idb
246 rm -rf windows/bin/{Win32,x64}/{Debug,Release}/vc142.pdb
248 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/*.obj
249 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.lib.recipe
250 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.log
251 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.tlog
252 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.idb
253 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.pdb
254 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.vcxproj.FileListAbsolute.txt
255 rm -rf windows/lib/{Win32,x64}/{Debug,ReleaseMD,ReleaseMT}/bcl.Build.CppClean.log
258 zip -r $projver-windows.zip windows > /dev/null
265 shasum "$projver-windows.zip"