Skip to content

Instantly share code, notes, and snippets.

View eploko's full-sized avatar

Andrey Subbotin eploko

View GitHub Profile
@eploko
eploko / gist:5089652
Last active December 14, 2015 12:58 — forked from rbsgn/gist:5089314
#!/bin/bash
TARGETS=`ls -1 -d *.{xcworkspace,xcproject} 2>/dev/null`
([ -n "${TARGETS[0]}" ] && open "${TARGETS[0]}") || \
echo "Can't find single workspace or project file in current directory, exiting..."