@peterseibel/hug 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/bin/hug +5 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install -g @peterseibel/hug
11
11
  Or clone this repo and link it:
12
12
 
13
13
  ```bash
14
- git clone <repo-url> && cd hug
14
+ git clone https://github.com/gigamonkey/hug.git && cd hug
15
15
  npm install && npm link
16
16
  ```
17
17
 
package/bin/hug CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  set -euo pipefail
4
4
 
5
- HUG_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ SOURCE="${BASH_SOURCE[0]}"
6
+ while [[ -L "$SOURCE" ]]; do
7
+ SOURCE="$(readlink "$SOURCE")"
8
+ done
9
+ HUG_ROOT="$(cd "$(dirname "$SOURCE")/.." && pwd)"
6
10
  source "$HUG_ROOT/lib/common.sh"
7
11
 
8
12
  VERSION="0.1.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peterseibel/hug",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "A lightweight wrapper around clasp for managing Google Apps Script projects",
5
5
  "bin": {
6
6
  "hug": "bin/hug"