Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds iojs support #1

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: node_ios_device_v1 node_ios_device_v11 node_ios_device_v14
all: node_ios_device_v1 node_ios_device_v11 node_ios_device_v14 node_ios_device_v42

check_env:
@which node-gyp || (echo "node-gyp not installed, run 'sudo npm install -g node-gyp'" && false)
Expand All @@ -23,9 +23,16 @@ node_ios_device_v14: check_env
node-gyp build node_ios_device_v14
mkdir -p out
cp build/Release/node_ios_device_v14.node out/

# iojs 1.0.X
node_ios_device_v42: check_env
node-gyp configure --target=1.0.3
node-gyp build node_ios_device_v42
mkdir -p out
cp build/Release/node_ios_device_v42.node out/

clean:
node-gyp clean
rm -rf out

.PHONY: clean
.PHONY: clean
5 changes: 4 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@
},
{
'target_name': 'node_ios_device_v14'
},
{
'target_name': 'node_ios_device_v42'
}
]
}
]
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"mobile"
],
"dependencies": {
"nan": "~1.3.0"
"nan": "~1.5.1"
},
"license": "Apache Public License v2",
"gypfile": true,
Expand Down