• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-tcr

joshski
1.2.0 24
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-tcr

A simple plugin to automate the test && commit || revert workflow in atom.

Installation

apm install atom-tcr

Usage

Save a JSON file named .tcr in your project directory, looking something like:

{
  "test": "node test.js",
  "commit": "git add -A && git commit -am working",
  "revert": "git reset --hard"
}

When the above configuration file is present, and any file is saved in your project:

  • The test command is executed.
  • When test terminates with exit code 0, commit is executed.
  • When test terminates with any other exit code revert is executed.

In either case, stdout and stderr are written to a file called ./tcr-feedback

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by