Skip to content

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

License

Notifications You must be signed in to change notification settings

webcpu/autobuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6cb51f8 · Mar 21, 2024

History

25 Commits
Mar 21, 2024
Mar 21, 2024
Jul 16, 2017
Oct 30, 2017
Jul 15, 2017
Oct 30, 2017
Jul 11, 2017
Mar 21, 2024
Mar 21, 2024
Oct 31, 2017
Mar 21, 2024

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