Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Watches over your Swift project's source

NotificationsYou must be signed in to change notification settings

regexident/swift-watch

Repository files navigation

Watches over your Swift project's source.

Installation

  1. Build

    git clone https://github.com/regexident/swift-watch.gitcd ./swift-watchswift build -c release
  2. Install in$PATH (such as in/usr/local/bin/):

    install -m +x "./.build/release/swift-watch" "/usr/local/bin/"

Usage

  1. Run$ cd /path/to/swift/package/
  2. Run$ swift watch -x="build"
  3. Modify some files in$ cd /path/to/swift/package/
  4. Watchswift-watch do its thing

Options

OVERVIEW: Watches over your Swift project's sourceTasks (-x & -s) are executed in the order they appear.USAGE: swift watch [options]OPTIONS:   -c, --clear                   Clear output before each execution   -d, --dry-run                 Do not run any commands, just print them   -q, --quiet                   Suppress output from swift-watch itself   -p, --postpone                Postpone initial execution until the first change   -m, --monochrome              Suppress coloring of output from swift-watch itself   -x, --exec=<cmd>              Swift command(s) to execute on changes   -s, --shell=<cmd>             Shell command(s) to execute on changes   -h, --help                    The help menu

Roadmap

  • Swift commands
  • Shell commands
  • Colorful output
  • Console clearing
  • Lazy mode
  • Delayed runs
  • Quiet mode
  • Dry-run mode
  • Ignore patterns
  • Watch patterns

Shout-out

swift-watch was directly inspired by Rust'scargo-watch. 🙌🏻

About

Watches over your Swift project's source

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp