- ./debug and ./run now pass along arguments.
authorMatt McCutchen <matt@mattmccutchen.net>
Mon, 23 Jun 2008 22:03:07 +0000 (18:03 -0400)
committerMatt McCutchen <matt@mattmccutchen.net>
Mon, 23 Jun 2008 22:04:03 +0000 (18:04 -0400)
- Add ./make-package .

debug
make-package [new file with mode: 0755]
run

diff --git a/debug b/debug
index 6ede1be..7742e85 100755 (executable)
--- a/debug
+++ b/debug
@@ -2,4 +2,4 @@
 # Let ghci see only the source so it loads the modules debuggably.
 mkdir -p debugdir
 (cd debugdir && ln -fs ../*.hs .)
-exec ghci -i -idebugdir Test
+exec ghci -i -idebugdir Test "$@"
diff --git a/make-package b/make-package
new file mode 100755 (executable)
index 0000000..59765dc
--- /dev/null
@@ -0,0 +1 @@
+git archive --format=tar --prefix=match/ HEAD^{tree} | bzip2 >match.tar.bz2
diff --git a/run b/run
index 04362f3..7fd903d 100755 (executable)
--- a/run
+++ b/run
@@ -1,2 +1,2 @@
 #!/bin/bash
-make && exec ghci Test
+make && exec ghci Test "$@"