Skip to content

Instantly share code, notes, and snippets.

@jeremy8883
jeremy8883 / submit-pr.sh
Last active September 4, 2019 17:56
Submit PR
#!/usr/bin/env bash
# This script runs all of the boilerplate commands that I repeatedly need to run
# when submitting a pull request for typical javascript projects.
# To summarize what this script does:
# - Opens github page to submit a PR in the web browser
# - Runs linting, tries to fix any errors, then automatically pushes the fixes
# up. You may need to make some fixes manually.
# - Runs jest tests. Of course, the CI server would also run these, but I prefer
# to run them locally as well. That way I can get told my tests are failing