mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
docs: Update build command for WebDriver example to be npm friendly
This commit is contained in:
@@ -112,7 +112,8 @@ export const config = {
|
||||
|
||||
// ensure the rust project is built since we expect this binary to exist for the webdriver sessions
|
||||
onPrepare: () => {
|
||||
spawnSync('yarn', ['tauri', 'build', '--debug', '--no-bundle'], {
|
||||
// Remove the extra `--` if you're not using npm!
|
||||
spawnSync('npm', ['run', 'tauri', 'build', '--', '--debug', '--no-bundle'], {
|
||||
cwd: path.resolve(__dirname, '..'),
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
|
||||
Reference in New Issue
Block a user