autorun

command module
v0.0.0-...-1adc62a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2021 License: MIT Imports: 11 Imported by: 0

README

AutoRun

autorun is a tool that listens for file changes and automatically executes specified commands. You can use autorun to automatically compile and run code or update dependencies.

autorun 是一个监听文件变化并自动运行指定命令的工具,你可以使用autorun自动编译运行代码,或者在依赖配置文件发生变化时自动刷新依赖。

Install

brew
brew install --build-from-source tbxark/repo/autorun
go
go install github.com/TBXark/autorun@latest

Usage

Usage of autorun:
  -c string
        Config file path (default "autorun.config")
  -d string
        Distance dir or file path (default ".")

Example

iOS project

{
  "build": [],
  "run": {
    "name": "/usr/local/bin/pod",
    "args": [
      "update"
    ]
  },
  "include": {
    "import": [
    ],
    "pattern": [
      "Podfile"
    ]
  },
  "exclude": {
    "import": [
      ".gitignore"
    ],
    "pattern": [
      ".temp",
      ".gitignore"
    ]
  }
}

Author

tbxark, tbxark@outlook.com

License

FlexLayout is available under the MIT license. See the LICENSE file for more info.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL