Compare commits

..

1 Commits

Author SHA1 Message Date
calebboyd 455d6893fd fix: cache for build vs target 2017-09-08 08:13:40 -05:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "nexe",
"description": "Create a single executable out of your Node.js application",
"license": "MIT",
"version": "2.0.0-rc.3",
"version": "2.0.0-rc.4",
"contributors": [
"Craig Condon <craig.j.condon@gmail.com> (http://crcn.io)",
"Jared Allard <jaredallard@outlook.com>",
+1 -1
View File
@@ -191,7 +191,7 @@ export class NexeCompiler {
async compileAsync(target: NexeTarget) {
const step = (this.compileStep = this.log.step('Compiling result'))
const build = this.options.build
const location = this.getNodeExecutableLocation(target)
const location = this.getNodeExecutableLocation(build ? undefined : target)
let binary = (await pathExistsAsync(location)) ? createReadStream(location) : null
const header = this._generateHeader()
if (!build && !binary) {
+1 -1
View File
@@ -6,7 +6,7 @@ import { getTarget, NexeTarget } from './target'
import { EOL } from 'os'
import * as chalk from 'chalk'
export const nexeVersion = '2.0.0-rc.3'
export const nexeVersion = '2.0.0-rc.4'
export interface NexePatch {
(compiler: NexeCompiler, next: () => Promise<void>): Promise<void>