Make `fisher` command executable on npm install.

This commit is contained in:
Jorge Bucaran 2016-04-23 22:27:31 +09:00
parent c9c9af9e17
commit c99a440969
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

View File

@ -18,7 +18,7 @@
"fisher": "./fisher.fish"
},
"scripts": {
"install": "awk 'BEGIN { print(\"#!/usr/bin/env fish\") } { print($0) } END { print(\"fisher $argv\") }' < fisher.fish > fisher.fish_; mv fisher.fish_ fisher.fish"
"install": "awk 'BEGIN { print(\"#!/usr/bin/env fish\") } { print($0) } END { print(\"fisher $argv\") }' < fisher.fish > fisher.fish_; mv fisher.fish_ fisher.fish; chmod +x fisher.fish"
},
"preferGlobal": true,
"repository": {