fix pogen binary
This commit is contained in:
parent
c26a41ce70
commit
14d4883639
1
packages/pogen/.gitignore
vendored
1
packages/pogen/.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
bin
|
||||
dist
|
||||
node_modules
|
||||
|
2
packages/pogen/bin/pogen
Executable file
2
packages/pogen/bin/pogen
Executable file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env node
|
||||
require('../lib/pogen.js').main();
|
@ -2,7 +2,7 @@
|
||||
"name": "@gnu-taler/pogen",
|
||||
"version": "0.0.5",
|
||||
"bin": {
|
||||
"pogen": "lib/pogen.js"
|
||||
"pogen": "bin/pogen"
|
||||
},
|
||||
"author": "Florian Dold",
|
||||
"license": "GPL-2.0+",
|
||||
|
@ -373,7 +373,7 @@ export function processFile(sourceFile: ts.SourceFile) {
|
||||
}
|
||||
}
|
||||
|
||||
function main() {
|
||||
export function main() {
|
||||
const configPath = ts.findConfigFile(
|
||||
/*searchPath*/ "./",
|
||||
ts.sys.fileExists,
|
||||
@ -434,5 +434,3 @@ msgstr ""
|
||||
const out = outChunks.join("");
|
||||
console.log(out);
|
||||
}
|
||||
|
||||
main();
|
||||
|
Loading…
Reference in New Issue
Block a user