feat(scripts): support musl flag
This commit is contained in:
parent
7c4ccce3d8
commit
c4e7fc622a
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ if (tomlContent.package && tomlContent.package.name) {
|
|||
}
|
||||
|
||||
const argv = parseArgs(process.argv.slice(2), {
|
||||
boolean: ['release', 'platform'],
|
||||
boolean: ['release', 'platform', 'musl'],
|
||||
})
|
||||
|
||||
const platform = os.platform()
|
||||
|
@ -61,7 +61,7 @@ switch (platform) {
|
|||
|
||||
const targetDir = argv.release ? 'release' : 'debug'
|
||||
|
||||
const platformName = argv.platform ? `.${platform}` : ''
|
||||
const platformName = argv.musl ? '.musl' : argv.platform ? `.${platform}` : ''
|
||||
|
||||
let subcommand =
|
||||
argv._[0] ||
|
||||
|
|
Loading…
Reference in a new issue