From 72f44182af7fc389900950814d12653f6268f17e Mon Sep 17 00:00:00 2001 From: Ron Waldon Date: Thu, 8 Aug 2013 20:31:19 +1000 Subject: [PATCH] fix CLI execution --- bin/cdn-sync | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100755 bin/cdn-sync diff --git a/bin/cdn-sync b/bin/cdn-sync new file mode 100755 index 0000000..7d23b3b --- /dev/null +++ b/bin/cdn-sync @@ -0,0 +1,5 @@ +#!/usr/bin/env node + +var path = require('path'); + +require(path.join(__dirname, '..')); diff --git a/package.json b/package.json index 98d5f3f..d065c18 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cdn-sync", "description": "deflate / synchronise assets to a CDN", - "version": "0.1.0", + "version": "0.1.1", "homepage": "https://github.com/jokeyrhyme/cdn-sync", "author": { "name": "Ron Waldon", @@ -23,7 +23,7 @@ } ], "bin": { - "cdn-sync": "./index.js" + "cdn-sync": "./bin/cdn-sync" }, "main": "lib/cdn-sync", "scripts": {