tells if a system runs macos launchd service manager
npm install @mh-cbon/has-launchdTells if macos launchd is available.
``js`
require('@mh-cbon/has-launchd')(function (err, launchdPath) {
console.log("This system runs launchd : %s", err?"no":"yes");
launchdPath && console.log("Found launchd at path : %s", launchdPath)
})
#### mac
To run the __mac__ tests on a fedora-like box,
- download and install vagrant
- execute npm run test-mac
- wait, a looooooonnnnggggg time. Mac images are very big....
#### linux
To run the __linux__ tests on a fedora-like box,
- download and install vagrantnpm run test-not-mac
- execute
or just
- download and install mochamocha test/not-mac.js`
-
- add tests for macos/lion
- ~~add tests for macos/maverick~~
- ~~add tests for macos/yosemite~~
- add tests for macos/elcapitan