diff ringtools/e1-experiments/compile.sh @ 173:64b37ad18f7a

e1-experiments: better test setup
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 22 Mar 2017 22:06:13 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ringtools/e1-experiments/compile.sh	Wed Mar 22 22:06:13 2017 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $# != 1 ]
+then
+	echo "usage: $0 test_melody_name" 1>&2
+	exit 1
+fi
+
+if [ ! -f "$1.src" ]
+then
+	echo "error: can't find $1.src" 1>&2
+	exit 1
+fi
+
+exec ../fc-e1gen "$1.src" "$1.bin"