aboutsummaryrefslogtreecommitdiff
path: root/scripts/osx/ta
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-06-09 21:03:53 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-06-09 21:03:53 -0400
commite511c67fa74162308c6986d05487fd633ff37da0 (patch)
treefb248607cde1a7d06be6de259a2733d644928a2e /scripts/osx/ta
parent173869a597ae29d96a32faf876d7280ffa1af525 (diff)
downloadtextadept-e511c67fa74162308c6986d05487fd633ff37da0.tar.gz
textadept-e511c67fa74162308c6986d05487fd633ff37da0.zip
New makefile 'osx-app' rule for building Textadept.app.
Also added some OSX scripts from the bundle to the repository. Requires the latest "GTK+ for OSX bundle".
Diffstat (limited to 'scripts/osx/ta')
-rwxr-xr-xscripts/osx/ta12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/osx/ta b/scripts/osx/ta
new file mode 100755
index 00000000..9b2d8f43
--- /dev/null
+++ b/scripts/osx/ta
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Copyright 2007-2013 Mitchell mitchell.att.foicica.com. See LICENSE.
+
+if [[ "$1" == "-h" || "$1" == "--help" ]]; then
+ echo "ta - shell script to launch Textadept.app"
+ echo "Usage: ta [args] [filenames]"
+ echo "Run textadept --help for available args."
+elif [ "${1:0:1}" == "-" ]; then
+ open -n -a Textadept.app --args $@
+else
+ open -a Textadept.app $@
+fi