Skip to content

Commit

Permalink
fix: ensure CLI standalone binary includes required files
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
jerome-benoit committed Jul 11, 2024
1 parent d9b001e commit 1589024
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
#!/usr/bin/env node

import { readFileSync } from 'node:fs'
import { peowly } from 'peowly'

import pkg from './package.json' with { type: 'json' }
import {
baseline as baselineBenchmark,
bench as benchmark,
run,
} from './src/index.js'
import { spawnSync } from './src/lib.js'

const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url)))

const {
flags: { baseline, bench, ...flags },
} = peowly({
Expand Down

0 comments on commit 1589024

Please sign in to comment.