Skip to content

Commit

Permalink
fix npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Paixao authored and Pedro Paixao committed Apr 13, 2016
1 parent 78e6783 commit a6dc981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ endif
ec:
@echo ${OSX_VERSION_MIN}


all: sodium

# If a static libsodium is found then compile against it
# instead of trying to compile from source
libsodium:
Expand Down Expand Up @@ -107,7 +110,4 @@ clean:
-rm -fr *.o
-rm -fr ${INSTALL_DIR}

all:
sodium

.PHONY: test-cov site docs test docclean
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
},
"scripts": {
"test": "make test",
"preinstall": "make",
"install": "node-gyp rebuild"
"install": "make sodium"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit a6dc981

Please sign in to comment.