summaryrefslogtreecommitdiff
path: root/ext/io/console/buildgem.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console/buildgem.sh')
-rwxr-xr-xext/io/console/buildgem.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/io/console/buildgem.sh b/ext/io/console/buildgem.sh
new file mode 100755
index 0000000..65fe545
--- /dev/null
+++ b/ext/io/console/buildgem.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+cd ${0%/*}
+trap "mv depend.$$ depend" 0 2
+${RUBY-ruby} -i.$$ -pe 'exit if /^win32_vk/' depend
+${GEM-gem} build io-console.gemspec