0.1.9 • Published 10 years ago

bash.origin.pinf v0.1.9

Weekly downloads
15
License
-
Repository
-
Last release
10 years ago

bash.origin.pinf

A plugin for Bash.Origin to make genesis.pinf.org tools available.

Usage

#!/bin/bash
# Source https://github.com/cadorn/bash.origin
. "$HOME/.bash.origin"
function init {
	eval BO_SELF_BASH_SOURCE="$BO_READ_SELF_BASH_SOURCE"
	BO_deriveSelfDir ___TMP___ "$BO_SELF_BASH_SOURCE"
	local __BO_DIR__="$___TMP___"

	# Example: Provision PINF.Genesis for demo app
	pushd "$__BO_DIR__/demo-app" > /dev/null
		BO_callPlugin "bash.origin.pinf@0.1.2" ensure genesis $@
	popd > /dev/null

	# Example: Call PINF.IT for demo app
	pushd "$__BO_DIR__/demo-app"
		BO_callPlugin "bash.origin.pinf@0.1.2" pit
	popd

	# Example: Call PINF.TO for demo app
	pushd "$__BO_DIR__/demo-app"
		BO_callPlugin "bash.origin.pinf@0.1.2" pto
	popd
}
init

Test

./test

After running the test you will find generated bundles at ./demo-app/bundles.

API

pit ...

Calls pit for current working directory passing along all arguments.

pto ...

Calls pto for current working directory passing along all arguments.

ensure genesis ...

Installs genesis.pinf.org for current working directory passing along all arguments.

License

Original Author: Christoph Dorn

UNLICENSE

0.1.9

10 years ago

0.1.8

10 years ago

0.1.6

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago