Skip to content

Commit

Permalink
Merge pull request #1171 from jnordberg/makefile-osx
Browse files Browse the repository at this point in the history
Fix Makefile build on OS X
  • Loading branch information
aearly committed May 31, 2016
2 parents 4931114 + 0238179 commit f97c154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# created here are checked in so people on all platforms can run npm scripts.
# This build should be run once per release.

SHELL=/bin/bash
export PATH := ./node_modules/.bin/:$(PATH):./bin/

PACKAGE = asyncjs
Expand Down Expand Up @@ -75,7 +76,7 @@ build-es: $(ES_MODULES)

$(BUILD_ES)/%.js: lib/%.js
mkdir -p "$(@D)"
sed -r "s/(import.+)lodash/\1lodash-es/g" $< > $@
sed -E "s/(import.+)lodash/\1lodash-es/g" $< > $@

test-build:
mocha support/build.test.js
Expand Down

0 comments on commit f97c154

Please # to comment.