4 releases

0.1.3 Oct 22, 2024
0.1.2 Aug 9, 2024
0.1.1 Apr 8, 2023
0.1.0 Mar 11, 2023

#336 in Command line utilities

Download history 100/week @ 2024-08-08 6/week @ 2024-08-15 12/week @ 2024-09-12 11/week @ 2024-09-19 9/week @ 2024-09-26 7/week @ 2024-10-03 112/week @ 2024-10-17 28/week @ 2024-10-24 1/week @ 2024-10-31

141 downloads per month

MIT license

140KB
276 lines

rn-run

Description:

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.

Usage:

rn-run [OPTIONS]

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

Dependencies

This script needs the alias ipad-mini to work: https://github.com/nigelrudolf/useful-aliases

Setup

On MacOS you will need to set Ask before closing to Never in Terminal settings image

Installation

  1. Install Rust, more info: https://www.rust-lang.org/learn/get-started
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Build & Install
cargo install rn-run

This will build and install the binary to ~/.cargo/bin/ on MacOS and add it to your PATH.

Dependencies

~1.6–2.6MB
~50K SLoC