Skip to content

Commit

Permalink
added bundler script
Browse files Browse the repository at this point in the history
  • Loading branch information
iosdeveloper committed Feb 22, 2016
1 parent 69f2463 commit 0822150
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Scripts/bitbar-bundler
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
[ "$#" -ge "2" ] || { echo "usage: $0 /path/to/BitBar.app /path/to/first-plugin /path/to/second-plugin ..."; exit 1; }

app="$1/Contents/MacOS/"

shift

# copy plugins into the app's executables directory
cp -v "$@" "$app"

# ensure they are executable
chmod -R +x "$app"

0 comments on commit 0822150

Please sign in to comment.