Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 11, 2017
1 parent 89233e3 commit 3bcea59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ yarn-error.log

# project specific
*.exe
test.js
test.ts
todo.md
4 changes: 2 additions & 2 deletions lib/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var makensis = require("./makensis");
var makensis_1 = require("./makensis");
var options = {
verbose: 2,
define: {
Expand All @@ -10,7 +10,7 @@ var options = {
'OutFile inst.exe'
]
};
makensis.compile('/Users/jan/Desktop/_nsis/error.nsi', options)
makensis_1.compile('/Users/jan/Desktop/_nsis/error.nsi', options)
.then(function (stdStream) {
console.log(stdStream);
}).catch(function (stdErr) {
Expand Down
4 changes: 2 additions & 2 deletions src/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as makensis from './makensis';
import {compile as MakeNSIS} from './makensis';

let options = {
verbose: 2,
Expand All @@ -11,7 +11,7 @@ let options = {

};

makensis.compile('/Users/jan/Desktop/_nsis/error.nsi', options)
MakeNSIS('/Users/jan/Desktop/_nsis/error.nsi', options)
.then((stdStream) => {
console.log(stdStream);
}).catch((stdErr) => {
Expand Down

0 comments on commit 3bcea59

Please sign in to comment.