Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skeptycal/pc

pre-commit deployment automation for macOS
https://github.com/skeptycal/pc

Last synced: 3 days ago
JSON representation

pre-commit deployment automation for macOS

Awesome Lists containing this project

README

        

# pc version 1.6.3

[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/skeptycal)

[![Netlify Status](https://api.netlify.com/api/v1/badges/416b8ca3-82db-470f-9adf-a6d06264ca75/deploy-status)](https://app.netlify.com/sites/mystifying-keller-ab5658/deploys)

![Azure DevOps builds](https://img.shields.io/azure-devops/build/skeptycal0275/skeptycal/1.svg?color=blue&label=Azure%20DevOps&style=popout)

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flask.svg?color=Yellow&label=Python&style=popout)](https://www.python.org/)

[![Twitter Follow](https://img.shields.io/twitter/follow/skeptycal.svg?label=%40skeptycal&style=social)](https://twitter.com/skeptycal)
[![GitHub followers](https://img.shields.io/github/followers/skeptycal.svg?style=social)](https://www.github.com/skeptycal)

Last update: 06-01-2019 | 20:08:36

---

### pre-commit and auto deploy on macOS

```bash

###############################################################################
# pc : pre-commit and auto deploy on macOS (version 1.6.3)
#
# author - Michael Treanor
# copyright - 2019 (c) Michael Treanor
# license - MIT
# github - https://www.github.com/skeptycal
#
# Usage: pc {init|reset|version|help}
#
# Parameters:
# [commit, -m] MESSAGE -- git commit and push with MESSAGE
# [help, -h, --help] -- display usage and information
# [init, -i, --init] -- install and initialize
# [readme] -- reset readme.md file with current info
# [reset, -r, --reset] -- reset initial repo files (with backup)
# [usage, -u, --usage] -- display usage information
# [version, -v, --version] -- display version information
#
# .pre-commit-template.yaml must be in current directory
# If not, a generic template will be created
# .pre-commit-bak.yaml will be created (if possible)
# from .pre-commit-config.yaml as backup
# .pre-commit-config.yaml will be *overwritten*
# and updated to current master sha from GitHub
###############################################################################

# Run this script if changes to the pre-commit or yaml configuration are added.

# Please make changes directly to the 'template' file:
# <.pre\-commit-template.yaml>
# and run the script 'pc' to update the yaml to current versioning.

# Please do not make changes directly to the 'config' file. The 'config' file:
# <.pre-commit-config.yaml>
# is created and updated by the 'pc' script automatically in order to maintain
# the correct, current versioning from git (master sha) so changes to the
# commit file will be overwritten when updating.
###############################################################################

```

---

```bash
.
├── LICENSE
├── Pipfile
├── Pipfile.lock
├── bak
│   ├── Pipfile
│   ├── Pipfile.lock
│   ├── README.md.bak
│   ├── README.md.bak2
│   ├── baklist.txt
│   ├── codecov.yml
│   ├── pc
│   ├── readme.md
│   ├── readme.template.md
│   ├── requirements.txt
│   ├── script_example.md
│   └── setup.py
├── bitbucket-pipelines.yml
├── build
│   └── bdist.macosx-10.14-x86_64
├── code-of-conduct.md
├── codecov.yml
├── dist
│   └── skeptycal.github.io-0.1.0-py3.7.egg
├── gpg_public.txt
├── pc
├── readme.md
├── readme.template.md
├── requirements.txt
├── script_example.md
├── setup.py
├── skeptycal.github.io.egg-info
│   ├── PKG-INFO
│   ├── SOURCES.txt
│   ├── dependency_links.txt
│   └── top_level.txt
└── static
└── license-MIT-blue.svg

6 directories, 31 files
```