aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/win32.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 00:13:44 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-07 00:13:44 +0200
commit9543748bda8bfcad015243a9d312cf203431b29f (patch)
tree29455f665fe933cd76ac6c1c90b9916898f9050d /.travis/targets/win32.sh
parent0a7f6a2659b363e1d68202b9fd863b57f7420f4f (diff)
downloadblogc-9543748bda8bfcad015243a9d312cf203431b29f.tar.gz
blogc-9543748bda8bfcad015243a9d312cf203431b29f.tar.bz2
blogc-9543748bda8bfcad015243a9d312cf203431b29f.zip
build: use yatr
Diffstat (limited to '.travis/targets/win32.sh')
-rw-r--r--.travis/targets/win32.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/.travis/targets/win32.sh b/.travis/targets/win32.sh
deleted file mode 100644
index 1a6745f..0000000
--- a/.travis/targets/win32.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-build() {
- default_configure \
- CC= \
- CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4" \
- --host=i686-w64-mingw32 \
- --target=i686-w64-mingw32 \
- --disable-tests \
- --disable-git-receiver \
- --disable-make \
- --disable-runserver
- make blogc.exe
-
- local pn="$(grep PACKAGE_TARNAME config.h | cut -d\" -f2)"
- local pv="$(grep PACKAGE_VERSION config.h | cut -d\" -f2)"
- local dest_dir="${pn}-${pv}-${TARGET}"
-
- rm -rf "${dest_dir}"
- mkdir -p "${dest_dir}"
-
- cp .libs/blogc.exe "${dest_dir}/"
- cp ../LICENSE "${dest_dir}/"
- cp ../README.md "${dest_dir}/"
-
- zip "${dest_dir}.zip" "${dest_dir}"/*
-}
-
-deploy() {
- FILES=( *.zip )
- [[ ${RV} -eq 0 ]] && [[ "x${CC}" = "xgcc" ]]
-}