node-gotool
v0.0.3
Published
A Node.js module for testing, building, and installing Go packages and programs.
Readme
node-gotool
A simple Gulp plugin for testing, building, and installing Go programs.
Installation
npm install node-gotoolUsage
Import the module
var go = require('gotool');Test a package.
go.test('pkg');Test multiple packages.
go.test(['pkg1', 'pkg2']);Test all packages within a directory
go.test('pkg/...');Install a package.
go.install('pkg');Install multiple packages.
go.install(['pkg1', 'pkg2']);Install all packages within a directory
go.install('pkg/...');Build a prsogram.
go.build('programdir', 'binarylocation');