Skip to content

Commit

Permalink
Making the package installable from npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
marktheunissen committed Sep 4, 2012
1 parent baf16ed commit 6559508
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion binding.gyp
Expand Up @@ -2,7 +2,7 @@
"targets": [
{
"target_name": "journald_lib",
"sources": [ "journald_lib.cc" ],
"sources": [ "src/journald_lib.cc" ],
'libraries': [ '/lib64/libsystemd-journal.so' ]
}
]
Expand Down
2 changes: 1 addition & 1 deletion journald.js → lib/journald.js
@@ -1,4 +1,4 @@
var journald_lib = require('./build/Release/journald_lib')
var journald_lib = require('../build/Release/journald_lib')

var noop = function() {};

Expand Down
8 changes: 8 additions & 0 deletions package.json
@@ -0,0 +1,8 @@
{
"description": "Log to the systemd journal",
"version": "0.0.1",
"name": "journald",
"author": "Mark Theunissen",
"homepage": "https://github.com/systemd/node-systemd",
"main": "./lib/journald"
}
File renamed without changes.
2 changes: 1 addition & 1 deletion test.js
@@ -1,4 +1,4 @@
var journald = require('./journald')
var journald = require('./lib/journald')

var callback = function(err, result) {
console.warn(result);
Expand Down

0 comments on commit 6559508

Please sign in to comment.