Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.25 KB

File metadata and controls

20 lines (11 loc) · 1.25 KB

Semi-automated compilation and testing of getdns-node against different versions of node

Compiles/builds/installs using npm install and subsequently runs npm test of getdns-node against different versions of node. This way compatibility can be confirmed, and possibly incompatibilities found.

Requirements

  • n for node version management.

Usage

node-version-builds.sh <git repository> <commitish>

  • Relies on the environment variable GETDNS_NODE_TARGET being set, as it's used for output directories and log naming.
  • Pass a git repository and a commitish (commit hash, tag or branch name) to have it automatically cloned and/or cleaned before the build.
  • The subfolder getdns-node-builds/ will contain separate build folders and log output from npm install and npm test.

Copyright © 2014, 2015, 2016, 2017, 2018 Joel Purra. Released under the BSD 3-Clause License. Part of getdns developer support library getdns-support