Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix double bitcore-lib loading issue
- Pass along services location and additional services for the default. - Reference specific commit of bitcore-build and remove mode hints.
- Loading branch information
Braydon Fuller
committed
Oct 20, 2015
1 parent
8646e4e
commit e9015d6
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env node | ||
// vi: ft=javascript -*- mode: JavaScript; -*- | ||
|
||
var node = require('bitcore-node'); | ||
node.cli.bitcore(); | ||
var bitcore = require('bitcore-node/lib/cli/bitcore'); | ||
var path = require('path'); | ||
var servicesPath = path.resolve(__dirname, '../'); | ||
var additionalServices = ['insight-api', 'insight-ui']; | ||
bitcore(servicesPath, additionalServices); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
#!/usr/bin/env node | ||
// vi: ft=javascript -*- mode: JavaScript; -*- | ||
|
||
var node = require('bitcore-node'); | ||
node.cli.bitcored(); | ||
'use strict'; | ||
|
||
var path = require('path'); | ||
var bitcored = require('bitcore-node/lib/cli/bitcored'); | ||
var servicesPath = path.resolve(__dirname, '../'); | ||
var additionalServices = ['insight-api', 'insight-ui']; | ||
bitcored(servicesPath, additionalServices); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters