From e511c67fa74162308c6986d05487fd633ff37da0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 9 Jun 2013 21:03:53 -0400 Subject: 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". --- scripts/osx/ta | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/osx/ta (limited to 'scripts/osx/ta') 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 -- cgit v1.2.3