Merge pull request #8 from merceyz/merceyz/windows-cmd

fix: generate cmd shims
This commit is contained in:
Maël Nison 2020-09-28 20:06:59 +02:00 committed by GitHub
commit 9e677ee4f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
!/.yarn/sdks
/dist
/package.tgz
/shims

View File

@ -30,7 +30,7 @@ async function main() {
fs.writeFileSync(entryPath, entryScript);
fs.chmodSync(entryPath, 0o755);
await cmdShim(entryPath, `${__dirname}/shims/${binaryName}`, {});
await cmdShim(entryPath, `${__dirname}/shims/${binaryName}`, {createCmdFile: true});
}
}