-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from c4milo/0.12.x-support
Implements support for node 0.12.x
- Loading branch information
Showing
9 changed files
with
403 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vagrant | ||
node_modules | ||
build | ||
.lock-* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
$script = <<SCRIPT | ||
sudo apt-get install -y build-essential | ||
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | ||
# curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash - | ||
# curl -sL https://deb.nodesource.com/setup_iojs_1.x | sudo bash - | ||
sudo apt-get install -y nodejs | ||
# sudo apt-get install -y iojs | ||
sudo npm install -g node-gyp | ||
SCRIPT | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "ubuntu/trusty64" | ||
config.vm.box_check_update = false | ||
|
||
config.vm.hostname = "inotify.local" | ||
|
||
config.vm.provider "virtualbox" do |vb| | ||
vb.gui = false | ||
vb.memory = 1024 | ||
vb.cpus = 1 | ||
end | ||
|
||
config.vm.provision "shell", inline: $script | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{ | ||
'targets': [ | ||
{ | ||
'target_name': 'inotify', | ||
'sources': [ | ||
'src/bindings.cc', | ||
'src/node_inotify.cc' | ||
], | ||
} | ||
] | ||
'targets': [ | ||
{ | ||
'target_name': 'inotify', | ||
'sources': [ | ||
'src/bindings.cc', | ||
'src/node_inotify.cc' | ||
], | ||
"include_dirs" : [ | ||
"<!(node -e \"require('nan')\")" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
{ "name" : "inotify", | ||
"version": "1.2.1", | ||
"author": "Camilo Aguilar <camilo@cloudescape.com>", | ||
"email": "camilo@cloudescape.com", | ||
"keywords": ["inotify", "watch", "monitor", "watch files", "watch directories"], | ||
"description" : "inotify bindings for v8 javascript engine", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/c4milo/node-inotify" | ||
}, | ||
"engines": {"node": ">=0.8"}, | ||
"main" : "inotify" | ||
{ | ||
"name": "inotify", | ||
"version": "1.3.0", | ||
"author": "Camilo Aguilar <camilo.aguilar@gmail.com>", | ||
"email": "camilo.aguilar@gmail.com", | ||
"keywords": [ | ||
"inotify", | ||
"watch", | ||
"monitor", | ||
"watch files", | ||
"watch directories" | ||
], | ||
"license": "MIT", | ||
"description": "inotify bindings for v8 javascript engine", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/c4milo/node-inotify" | ||
}, | ||
"engines": { | ||
"node": ">=0.8" | ||
}, | ||
"main": "inotify", | ||
"dependencies": { | ||
"nan": "^1.8.4" | ||
} | ||
} | ||
|
Oops, something went wrong.