Build SQL, JSON-LD, and other versions of the CHTN Vocabulary
Clone this repository and the core Vocabulary, install dependencies, and go.
$ git clone https://github.com/CooperativeHumanTissueNetwork/Vocabulary.git Vocabulary
$ git clone https://github.com/CooperativeHumanTissueNetwork/Vocabulary-Tooling.git Vocabulary-Tooling
$ cd Vocabulary-Tooling
$ npm install
$ npm run build -- -f ../Vocabulary/CHTN-Core-Vocabulary.tsv
Run with the -h
flag to see additional options.
$ npm run build -- -h
This sample Travis-CI configuration file, taken from Vocabulary uses the Vocabulary Tools to build and deploy the built versions through Github Releases.
language: node_js
sudo: false
node_js:
- '4.2.4'
before_install:
- npm install https://github.com/CooperativeHumanTissueNetwork/Vocabulary-Tooling/tarball/v1.1.1
script: ./node_modules/chtn-vocabulary-tools/node_modules/coffee-script/bin/coffee node_modules/chtn-vocabulary-tools/index.litcoffee -f CHTN-Core-Vocabulary.tsv
deploy:
provider: releases
skip_cleanup: true
file: 'CHTN-Core-Vocabulary.*'
file_glob: true
on:
repo: CooperativeHumanTissueNetwork/Vocabulary
tags: true
See CHANGELOG.md.