Skip to content

Commit c187492

Browse files
committed
chore: tidy up, fix CI config
1 parent c83d664 commit c187492

File tree

6 files changed

+17
-22
lines changed

6 files changed

+17
-22
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ sudo: required
33
language: node_js
44
node_js:
55
- "12"
6+
- "11"
67
- "10"
78
- "8"
8-
- "6"
9-
- "4"
109
before_install:
1110
- sudo apt-get -qq update
1211
- sudo apt-get install -y libsystemd-dev

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# sd-notify
2-
3-
[![NPM version][npm-image]][npm-url]
4-
[![License][license-image]][license-url]
1+
# sd-notify [![Build Status](https://travis-ci.org/roryrjb/sd-notify.svg?branch=master)](https://travis-ci.org/roryrjb/sd-notify) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) [![NPM version](https://img.shields.io/npm/v/sd-notify.svg)](https://npmjs.org/package/sd-notify) [![License](http://img.shields.io/npm/l/sd-notify.svg)](LICENSE)
52

63
> Extremely minimal wrapper around [`sd_notify`](https://www.freedesktop.org/software/systemd/man/sd_notify.html)
74
85
### Requirements
96

107
* any Linux distribution that supports [__systemd__](https://en.wikipedia.org/wiki/Systemd)
11-
* C/C++ tool stack (GCC, etc...)
8+
* C/C++ tool stack (GCC/Clang, etc...)
9+
* Node.js >= `8.0.0`
1210

1311
### Installation
1412

@@ -141,8 +139,3 @@ Apr 22 17:29:41 lenovo systemd[1]: Started Express Node.js.
141139
Apr 22 17:35:50 lenovo node[8275]: send some status to systemd
142140
...
143141
```
144-
145-
[npm-image]: https://img.shields.io/npm/v/sd-notify.svg
146-
[npm-url]: https://npmjs.org/package/sd-notify
147-
[license-image]: http://img.shields.io/npm/l/sd-notify.svg
148-
[license-url]: LICENSE

noop.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2017 - 2018, Rory Bradford <roryrjb@gmail.com> and contributors
1+
// Copyright (C) 2017 - 2019, Rory Bradford <rory@dysfunctionalprogramming.com> and contributors
22
// MIT License
33

44
#include <node.h>

notify.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2017 - 2018, Rory Bradford <roryrjb@gmail.com> and contributors
1+
// Copyright (C) 2017 - 2019, Rory Bradford <rory@dysfunctionalprogramming.com> and contributors
22
// MIT License
33

44
#include <node.h>

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"version": "2.7.1",
2+
"version": "2.7.2",
33
"scripts": {
4-
"test": "./node_modules/.bin/standard && ./node_modules/.bin/mocha",
4+
"test": "standard && mocha",
55
"install": "node-gyp rebuild"
66
},
77
"gypfile": true,
88
"name": "sd-notify",
9-
"description": "wrapper around sd_notify to help in using systemd as a node process manager",
9+
"description": "wrapper around sd_notify for using systemd as a node process manager",
1010
"main": "index.js",
1111
"repository": {
1212
"type": "git",
@@ -37,5 +37,8 @@
3737
"os": [
3838
"linux",
3939
"darwin"
40-
]
40+
],
41+
"engines": {
42+
"node": ">=8.0.0"
43+
}
4144
}

0 commit comments

Comments
 (0)