hydrocarbon

0.3.4 • Public • Published

# HydroCarbon NPM Coverage Status Build status

simple wrapper over wix. You can see a working demo here

Install

$ npm install --save-dev hydrocarbon

Usage

var HydroCarbon = require('hydrocarbon');
 
HydroCarbon.exec({
  heatFiles: ["installers/heat.rsp"],
  candleFiles: ["installers/candle.rsp"],
  lightFiles: ["installers/light.rsp"]
}, mycallbackFunction);

or

var HydroCarbon = require('hydrocarbon');
 
HydroCarbon.exec({
  heatFiles: ["installers/heat.rsp"],
  candleFiles: ["installers/candle.rsp"],
  lightFiles: ["installers/light.rsp"]
})
.then(()=>nextThingToDo());

Works great with gulp, or grunt. Build agnostic

API

HydroCarbon.Exec(options, callback)

Returns a promise object

options

heatFiles

Type: array
Default: undefined

Array of heat response file paths

candleFiles

Type: array
Default: undefined

Array of candle response file paths

lightFiles

Type: array
Default: undefined

Array of light response file paths

heatCommands

Type: array Default: undefined

Array of command line args to pass to heat overrides heatFiles

candleCommands

Type: array Default: undefined

Array of command line args to pass to candle overrides candleFiles

lightCommands

Type: array Default: undefined

Array of command line args to pass to light overrides lightFiles

version

Type: string Default: undefined

Sets the BUILD_VERSION environment variable to version before calling heat, candle, and light

suppressValidation

Type: bool Default: false

If true this will supress ICE validation checks during the linking process.

License

MIT © Tommy Parnell

Readme

Keywords

none

Package Sidebar

Install

npm i hydrocarbon

Weekly Downloads

1

Version

0.3.4

License

MIT

Last publish

Collaborators

  • tparnell
  • terribledev