This repository was archived by the owner on Jun 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Bash: Conventions
Scot P. Floess edited this page Nov 8, 2015
·
1 revision
The following represents our directory structure:
-
bash- bash utility scripts and functions. -
bash/bintray- Bintray related scripts for creating, listing, publishing and deleting artifacts. -
bash/continuous-delivery- continuous delivery related scripts. Presently only "short cuts" for preparing [Maven] (http://maven.apache.org) and RPM artifacts for release. -
bash/openshift- OpenShift related scripts that can help with rev'ing artifact versions, pushing out artifacts to Bintray, Github, Bitbucket, etc. -
test/bash- contains our unit tests (and test suite) for thebashutility scripts.
Scripts are named using lower case words separated by dashes (like git-utils.sh). All utility scripts end in -utils.sh (like common-utils.sh).
We are somewhat inconsistent in our naming of functions. Initially we started using all lower case dash separated words (like generate-unique). However, we'd like to standardize upon lower camel (like getBackground) per [Issue #48] (https://github.com/FlossWare/scripts/issues/48).