Sha256: 8dd802765ac38eba04b9258ad8b38517af4114eb1c61ed5f4554be215be07349

Contents?: true

Size: 427 Bytes

Versions: 6

Compression:

Stored size: 427 Bytes

Contents

#!/bin/bash

# Process all dia images to OUTFORMAT images.
# Usage: makeimages [lang]
# If localized image is available - uses it, else uses default one.

OUTFORMAT=png

path="."
outpath="."

for img in `find $path -name "*.dia"`
do
	infile=$img
	if [[ -n $1 ]]
	then
		tst=../$1/figures-dia/${img#$path/}
		if [[ -f $tst ]]
		then
			infile=$tst
		fi
	fi
	outfile=$outpath/${img%.dia}.$OUTFORMAT
	dia $infile -e $outfile
done

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commonmarker-0.13.0 test/progit/figures-dia/makeimages
commonmarker-0.12.0 test/progit/figures-dia/makeimages
commonmarker-0.1.3 test/progit/figures-dia/makeimages
commonmarker-0.1.2 test/progit/figures-dia/makeimages
commonmarker-0.1.1 test/progit/figures-dia/makeimages
commonmarker-0.1.0 test/progit/figures-dia/makeimages