Crates.io | rn-run |
lib.rs | rn-run |
version | 0.1.3 |
source | src |
created_at | 2023-03-11 03:41:09.822406 |
updated_at | 2024-10-22 18:17:22.046245 |
description | A simple CLI tool to run react native projects |
homepage | https://github.com/nigelrudolf/rn-run |
repository | https://github.com/nigelrudolf/rn-run |
max_upload_size | |
id | 806945 |
size | 158,152 |
Run react native app on ios or android using a single command. This allows you to quickly run different branches without having to stop any processes or quit any programs, just run the command again on a different branch. Run this script in the root of your react native project.
rn-run [OPTIONS]
-i, --ios Run iOS
-a, --android Run Android
-s, --simulator <SIMULATOR>
-c, --clean-install Clean install
-h, --help Print help
-V, --version Print version
This script needs the alias ipad-mini
to work: https://github.com/nigelrudolf/useful-aliases
On MacOS you will need to set Ask before closing to Never in Terminal settings
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install rn-run
This will build and install the binary to ~/.cargo/bin/
on MacOS and add it to your PATH.