feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07)
This commit is contained in:
parent
f49acf0105
commit
10af20a0ad
157 changed files with 29455 additions and 913 deletions
|
|
@ -22,10 +22,11 @@ import { fileURLToPath } from 'node:url'
|
|||
|
||||
const root = join(dirname(fileURLToPath(import.meta.url)), '..', '..')
|
||||
|
||||
const inPlace = process.argv.includes('--in-place')
|
||||
const dirFlagIndex = process.argv.indexOf('--dir')
|
||||
const packagedDir = dirFlagIndex >= 0 ? process.argv[dirFlagIndex + 1] : null
|
||||
if (!packagedDir || !existsSync(packagedDir)) {
|
||||
console.error('사용: node scripts/ci/fix-native-abi.mjs --dir <packagedDir>')
|
||||
if (!inPlace && (!packagedDir || !existsSync(packagedDir))) {
|
||||
console.error('사용: node scripts/ci/fix-native-abi.mjs --dir <packagedDir> | --in-place')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
|
|
@ -43,7 +44,9 @@ const relativeBinary = join(
|
|||
'Release',
|
||||
'better_sqlite3.node',
|
||||
)
|
||||
const targetBinary = join(packagedDir, 'resources', 'app.asar.unpacked', relativeBinary)
|
||||
const targetBinary = inPlace
|
||||
? join(root, relativeBinary)
|
||||
: join(packagedDir, 'resources', 'app.asar.unpacked', relativeBinary)
|
||||
|
||||
if (!existsSync(targetBinary)) {
|
||||
console.error(`[native-abi] 패키징 트리에 better-sqlite3 바이너리가 없습니다: ${targetBinary}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue