Commit 5b6c3275 authored by Max F. Albrecht's avatar Max F. Albrecht
Browse files

make installable, take DIR from first arg

parent bb02ba8b
#!/usr/bin/env sh
npm run -s bin $1
......@@ -3,7 +3,8 @@ path = require('path')
f = require('active-lodash')
plist = require('plist')
DIR = '/Volumes/deploy/DSRepository/'
DIR = process.argv[2] or '/Volumes/deploy/DSRepository/'
workflowPath = path.join(DIR, 'Databases', 'Workflows')
packagePath = path.join(DIR, 'Packages')
filePath = path.join(DIR, 'Files')
......
......@@ -2,13 +2,14 @@
"name": "deploystudio-find-obsoletes",
"private": true,
"bin": {
"deploystudio-find-obsoletes": "index.js"
"deploystudio-find-obsoletes": "bin/deploystudio-find-obsoletes"
},
"version": "1.0.0",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"bin": "coffee index.coffee"
},
"author": "",
"license": "MIT",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment