chore: test appveyor build

This commit is contained in:
calebboyd
2017-08-23 23:33:11 -05:00
parent ba78c7dc54
commit fcd803686c
4 changed files with 32 additions and 1 deletions
+3
View File
@@ -172,6 +172,9 @@ export class NexeCompiler {
}
private _assembleDeliverable(header: NexeHeader, binary: NodeJS.ReadableStream) {
if (this.options.empty) {
return binary
}
const artifact = new Readable({ read() {} })
binary.on('data', (chunk: Buffer) => {
artifact.push(chunk)
+2 -1
View File
@@ -71,6 +71,7 @@ export interface NexeOptions {
function padRight(str: string, l: number) {
return (str + ' '.repeat(l)).substr(0, l)
}
const defaults = {
temp: process.env.NEXE_TEMP || join(process.cwd(), '.nexe'),
version: process.version.slice(1),
@@ -78,7 +79,7 @@ const defaults = {
configure: [],
make: [],
targets: [],
vcBuild: ['nosign', 'release'],
vcBuild: ['nosign', 'release', process.arch],
enableNodeCli: false,
bundle: true,
build: true,