Skip to content

Tooling for building React Native apps with Clojurescript

License

Notifications You must be signed in to change notification settings

vikeri/rn-cljs-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rn-cljs-tools

Tooling for building React Native apps with Clojurescript

Background

One may currently choose from two build tools when developing React Native with Clojurescript:

As of June 2016, both are actively developed. In these repo the aim is to collect tools that may be useful for both build systems. I use re-natal at the moment so please submit PR's for boot-react-native.

Install

  1. Clone this repo
  2. Add the dir of the cloned repo to your PATH, how-to

Note: I am not sure in what format this library should ideally be delivered, an npm module that can be installed globally might be the most convenient way assuming that everyone working with RN has npm and node installed. But for now I just wrote a bash script. Create an issue if you have any suggestions :)

Features

Build iOS app for offline usage

build-ios-offline

Requires ios-deploy

Start with building the project once from XCode to your device (to add team etc.) and use this from then on.

If terminal-notifer is installed, it will fire a notification if the build is successful.

    Usage: build-ios-offline [-t re-natal] [-a <string>]
    
    -t Type of tool: re-natal
    -a The name of your app (<APPNAME>.xcodeproj)
    -s XCode build scheme, default scheme is app name (optional)

Watch Clojurescript build log

watch-log

This prints errors or warnings to the terminal with an added timestamp, when warnings or erros occur it will optionally also make a sound and if terminal-notifer is installed, it will fire a notification.

    Usage: watch-log [-s <bool>] [-f <string>]
    
    -s Make a sound each time the build fails or generates a warning. default: true
    -f File path to cljs log-file. default: figwheel_server.log

Planned features

  • Deploy app with code-push
  • Build Android app for offline usage

About

Tooling for building React Native apps with Clojurescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages