Skip to content

webcpu/autobuild

Repository files navigation

autobuild

Execute build script automatically when any specified files in working directory are modified.

Examples

autobuild -s ./playground.sh -t "{red}" screen shot 2017-10-31 at 09 46 08

autobuild -s ./build.sh -t "{swift}"

screen shot 2017-10-30 at 11 03 18

Installation

Prerequisites

  • macOS 10.13
  • Xcode 9+ & Xcode command line tools
  • fswatch
brew install fswatch

Install

git clone https://github.com/unchartedworks/autobuild.git
cd autobuild
./build.sh 

Usage

Usage: autobuild [options]
  -c, --chdir:
      Change working directory before any other operation
  -s, --script:
      Build script path
  -t, --types:
      file extensions to be monitored, such as "{swift,m,h}".
      If there is no file extensions specified, all kinds of files in working directory will be monitored.
  -h, --help:
      print usage
      
autobuild (-c|--chdir workingdirectory) (-s|--script scriptpath) (-t|--types fileextensions)

Execute build script automatically when any specified files in working directory are modified.

About

Execute build script automatically when any specified files in working directory are modified.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published