Sha256: e7a34a01603172620130e9c9952c70fa4d4a675b882fd2c602f4534abbeed73b

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

#!/bin/bash

set -eu

for arch in 'i686' 'x86_64'; do
	make clean
	make -j CC=${arch}-w64-mingw32-gcc CFLAGS="-Werror" all \
		benchmark.exe checksum.exe
	dir=libdeflate-$(git describe --tags | tr -d v)-windows-${arch}-bin
	rm -rf $dir ${dir}.zip
	mkdir $dir
	cp libdeflate.dll libdeflate.lib libdeflate.h *.exe $dir
	${arch}-w64-mingw32-strip ${dir}/libdeflate.dll ${dir}/*.exe
	for file in COPYING NEWS; do
		sed < $file > ${dir}/${file}.txt -e 's/$/\r/g'
	done
	for file in README.md; do
		sed < $file > ${dir}/${file} -e 's/$/\r/g'
	done
	(cd ${dir} && zip -r ../${dir}.zip .)
done

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libdeflate-0.1.1 ext/libdeflate/libdeflate/tools/make-windows-releases
libdeflate-0.1.0 ext/libdeflate/libdeflate/tools/make-windows-releases