mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-17 15:42:00 +03:00
1d66d00506
* chore: update install commands in setup scripts * chore(examples/api): add `tauri` script * chore(contributing.md): update to match new developments * fix(scripts/setup): typo * chore(examples): replace communication with helloworld * remove deno submodule as it was added on accident * fix(examples/helloword): add __tauri.js to .gitignore * fix(examples): helloworld example with `cargo run`, change dev path Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
25 lines
575 B
Bash
25 lines
575 B
Bash
#!/usr/bin/env sh
|
|
echo "Building API definitions..."
|
|
cd api
|
|
yarn && yarn build
|
|
cd ..
|
|
|
|
echo "Building the Tauri Rust CLI..."
|
|
cd cli/core
|
|
cargo install --path .
|
|
cd ../..
|
|
echo "Tauri Rust CLI installed. Run it with '$ cargo tauri [COMMAND]'."
|
|
|
|
echo "Do you want to install the Node.js CLI?"
|
|
select yn in "Yes" "No"; do
|
|
case $yn in
|
|
Yes )
|
|
cd cli/tauri.js
|
|
yarn && yarn build && yarn link
|
|
cd ../..
|
|
echo "Tauri Node.js CLI installed. Run it with '$ tauri [COMMAND]'."
|
|
break;;
|
|
No ) break;;
|
|
esac
|
|
done
|