Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.
/ autorun Public archive

autorun is a tool that listens for file changes and automatically executes commands.

License

Notifications You must be signed in to change notification settings

tbxark-arc/autorun

Repository files navigation

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, [email protected]

License

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

About

autorun is a tool that listens for file changes and automatically executes commands.

Resources

License

Stars

Watchers

Forks

Packages

No packages published