github.com/jwaldrip/fastpass

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Nothing has been indexed for 0.51.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  fastpass:
    github: jwaldrip/fastpass
    version: ~> 0.51.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.51.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

fastpass

Ensure CI doesn't run more than it needs to by "fast-passing" your commands.

Installation

Homebrew

brew install jwaldrip/on-tap/fastpass

Linux

curl -fsSL https://raw.githubusercontent.com/jwaldrip/fastpass/master/install-nix.sh

Usage

Fastpass comes in two parts, a reporting server and a script runner. You will need to run your server and then configure your script runner locally by creating a fastpass.yml file.

Here is the spec:

# The server we will be reporting to (defaults to https://fastpass.rocks)
server: "http://fastpass.jasonwaldrip.com"
# Environment vars to include in the sha (optional)
check_environment:
  - FOO
# Files to include in the sha (optional)
check_files:
  - "./**/*"
# Files to ignore in the sha (optional)
ignore_files:
  - "./ignored-file"
# A list of scripts to be run with `fastpass run` (required)
scripts:
  # A shorthand script, by the name of run and running the command `crystal run ./main.cr`
  run: crystal run ./main.cr

  # A longhand script, by the name of spec, running the command `crystal spec`, and specifying additional environment vars and files.
  spec:
    command: crystal spec
    check_environment:
      - BAR
    check_files:
      - "./spec/**/*"
    ignore_files:
      - "./other-ignored-file"

Running the Server

$ fastpass server

Running a script

$ fastpass run [script]

Contributing

  1. Fork it (https://github.com/jwaldrip/fastpass/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • jwaldrip Jason Waldrip - creator, maintainer