Sha256: 67dcc78e81c1fdce666cb552ce8a04297e6f19a1716de96f0c987602da1754fc

Contents?: true

Size: 555 Bytes

Versions: 10

Compression:

Stored size: 555 Bytes

Contents

#!/bin/sh
#
# $RoughId: test.sh,v 1.5 2001/07/13 15:38:27 knu Exp $
# $Id$

RUBY=${RUBY:=ruby}
MAKE=${MAKE:=make}
CFLAGS=${CFLAGS:=-Wall}

${RUBY} extconf.rb --with-cflags="${CFLAGS}"
${MAKE} clean
${MAKE}

for algo in md5 rmd160 sha1 sha2; do
    args=--with-cflags="${CFLAGS}"

    if [ $WITH_BUNDLED_ENGINES ]; then
	args="$args --with-bundled-$algo"
    fi

    (cd $algo &&
	${RUBY} extconf.rb $args;
	${MAKE} clean;
	${MAKE})
    ln -sf ../../$algo/$algo.so lib/digest/
done

${RUBY} -I. -I./lib ../../test/digest/test_digest.rb

rm lib/digest/*.so

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/digest-3.1.0/ext/digest/test.sh
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/digest-3.1.0/ext/digest/test.sh
digest-3.1.1 ext/digest/test.sh
digest-3.1.0 ext/digest/test.sh
digest-3.1.0.pre3 ext/digest/test.sh
digest-3.1.0.pre2 ext/digest/test.sh
digest-3.1.0.pre1 ext/digest/test.sh
digest-3.1.0.pre0 ext/digest/test.sh
digest-3.0.0 ext/digest/test.sh
digest-1.0.0 ext/digest/test.sh