Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 758 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 758 Bytes

public-common-script-template

This is a template for common scripts that can be used in any project.

Installation

Ensure you have the following lines in your .gitignore file:

# script-templates
## Ignore all subdirectories under scripts (script-template folders)
scripts/*/
## Except for the hooks folder (allows to hook into several script-template scripts)
!scripts/hooks/
## Recursively ignore any file ending with .local.sh (local files which you wont want to commit)
scripts/*.local.sh
scripts/**/*.local.sh

Install the script-template:

# clone
git clone --depth 1 -b "master" "[email protected]:SoureCode/public-common-script-template.git" "scripts/public-common"
# cleanup
./scripts/public-common/___cleanup.sh