Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from Alhadis/fix-makefile
Browse files Browse the repository at this point in the history
Fix `make install` command.
  • Loading branch information
Alhadis authored Apr 20, 2018
2 parents 4e121a7 + e32ffe5 commit f3e962b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SRC = harvester.js
TARGET = bookmarklet.js

all: install lint $(TARGET)


# Compile/minify bookmarklet
$(TARGET): $(SRC)
Expand All @@ -20,8 +20,8 @@ lint:

# Install required dependencies
install:
@(command -v uglifyjs 2>&1 >/dev/null) || npm -g uglify-es
@(command -v eslint 2>&1 >/dev/null) || npm -g eslint
@(command -v uglifyjs 2>&1 >/dev/null) || npm install -g uglify-es
@(command -v eslint 2>&1 >/dev/null) || npm install -g eslint


# Delete generated files
Expand Down

0 comments on commit f3e962b

Please sign in to comment.