Skip to content

Commit 1fa2d3e

Browse files
committed
Fix Makefile to work on osx
1 parent faee5d0 commit 1fa2d3e

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.idea/modules.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22
node_js:
33
- 'node'
44
- '6'
5-
- '4'
65
- '4.5'
7-
install: make --no-builtin-rules --jobs=4
8-
script: make --no-builtin-rules full-test
6+
- '4'
7+
install: make -j4 build
8+
script: make full-test

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# hack to get osx to recognize a chane in PATH
2+
SHELL := /usr/bin/env sh
3+
PATH := $(shell pwd)/node_modules/.bin:${PATH}
4+
15
# Make Settings
26

37
.SECONDEXPANSION:
@@ -7,8 +11,6 @@
711

812
# Vars
913

10-
pwd := $(shell pwd)
11-
PATH := ${pwd}/node_modules/.bin:${PATH}
1214
test_command := mocha test --require=test/index --recursive
1315

1416

lib/stream-async-iterator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type {Readable} from 'stream';
33

44
/**
5-
* @type {Object.<string, symbol>}
5+
* @type {Object.<string, Symbol>}
66
*/
77
export const states = {
88
notReadable: Symbol('not readable'),

0 commit comments

Comments
 (0)