Commit Graph

227 Commits

Author SHA1 Message Date
Kevin van Zonneveld
2295da9233 Postinstall isn't automatically run(?) 2016-11-30 20:56:57 +01:00
Kevin van Zonneveld
0bed7a3782 node project is needed for lanyon 2016-11-30 20:26:24 +01:00
Kevin van Zonneveld
5b5d5608b4 node project is needed for lanyon 2016-11-30 20:10:34 +01:00
Kevin van Zonneveld
c0a2a56cee Upgrade Lanyon to v0.0.15 2016-11-30 20:09:01 +01:00
Kevin van Zonneveld
3c114b9d1d Fix package.json 2016-11-30 20:07:55 +01:00
Kevin van Zonneveld
e61028f679 Lanyon should be a devDep 2016-11-30 19:59:21 +01:00
Kevin van Zonneveld
049002a1cc Lanyon deploys 2016-11-30 19:35:44 +01:00
Kevin van Zonneveld
a7665cbf4f Upgrade Lanyon to v0.0.13 2016-11-30 16:22:25 +01:00
Kevin van Zonneveld
74a701a66e Lanyon (#67)
* WIP

* Working locally

* Upgrade lanyon

* Upgrade Lanyon to v0.0.12

* Tweaks

* Simplify example scripts
2016-11-30 14:57:40 +01:00
Manuel Streuhofer
57ebf1569d Updated README and FAQ (#66)
* updated TOC
* fixed typos
* link to bash3boilerplate.sh/main.sh instead of blob/master/main.sh
* updated links from e.g. blob/master/main.sh#L13 to
  blob/v2.1.0/main.sh#L13
2016-11-29 10:36:49 +01:00
Izaak Beekman
e7a0b2f412 Merge pull request #63 from mstreuhofer/usage-defaults
Allow for multiline opt description in __usage. Fixes #7
2016-11-18 09:45:07 -05:00
Kevin van Zonneveld
064f30502f Build plz : ) 2016-11-14 12:16:06 +01:00
Manuel Streuhofer
539443b3ca Allow for multiline opt description in __usage. Fixes #7 2016-11-11 20:13:01 +01:00
Kevin van Zonneveld
0181129aff Add all logos 2016-11-11 11:22:46 +01:00
roooshee
87530e756e Adding b3bp logo (#64) 2016-11-11 09:51:43 +01:00
Manuel Streuhofer
dfd799b4e5 b3bp sourced mode (#61)
If main.sh is being sourced instead of being executed it respects the
variables __usage and __helptext being defined beforehand. Its behaviour
will depend on the sourcing script. If __usage is defined but empty no
argument parsing is done. If __helptext is defined but empty no helptext
will be shown.

Logging support still exists as it did before. The environment variables
LOG_LEVEL and NO_COLOR are supported just as they were before.
2016-11-09 10:03:00 +01:00
Manuel Streuhofer
d2195eee3c mention the used license in each script header (#60)
turns out that the README.md explains that "... licensed under MIT ...
the LICENSE does not have to be bundled as long as ..." but the scripts
themselfs don't mention any license.

fixed that by adding a one line mention of the used license and the two
lines explaining that the header comments have to stay intact.
2016-11-08 21:15:46 +01:00
Kevin van Zonneveld
9928ef16d7 Update version 2016-11-08 13:07:29 +01:00
Kevin van Zonneveld
8f06b1a927 Release 2.1.0 2016-11-08 13:07:28 +01:00
Kevin van Zonneveld
e6275924b5 Update CHANGELOG.md 2016-11-08 13:07:20 +01:00
Manuel Streuhofer
f82bbe59b0 better logging. support for multiple lines. (#57)
* better logging: support for multiple lines

* renamed logging function from _fmt to __b3bp_log

* adding example to show how multiline logging works

the main idea is to be able to log e.g. the output of a command and
b3bp taking care of splitting and prefixing every line.

* simplified code, removed hacky space-at-EOL
2016-11-08 13:03:26 +01:00
Manuel Streuhofer
4445c181bb cleanup environment variables (#58)
all internally used variable names (e.g. the ones used while parsing
__usage and running the getopts loop) start with '__b3bp_tmp'. This
makes it easy to unset them all after the work is done.

additional bugfix: run getopts only if any options were actually
specified in __usage
2016-11-08 13:02:37 +01:00
Kevin van Zonneveld
86ab1128ed Add FAQ about accessing unset vars #16 (#42) 2016-11-08 12:58:33 +01:00
Mathieu Aubin
839df144ca Optimized/Minification of png and jpg (#50)
Couldnt go as far as playing with the pxm without atrocious google-fu
2016-09-29 13:37:09 +02:00
Josh
195e84fe09 Fix minor typo in README.md (#49)
There was a space in an instance of the word instead
2016-08-18 10:20:55 +02:00
Kevin van Zonneveld
34e437b23c Improved english (#43)
* Not completely done yet

* Not completely done yet either

* Update README.md

* One of two ways

* Prefer `source` over `.` for readability

* Use backticks where possible

* Update FAQ.md
2016-06-28 15:14:24 +02:00
Kevin van Zonneveld
35b51072b3 No more os detection (#41) 2016-06-24 13:12:41 +02:00
Kevin van Zonneveld
8bbba18f7e Offer the main template for download as http://bash3boilerplate.sh/main.sh 2016-06-24 11:47:28 +02:00
Kevin van Zonneveld
03a2ec5adf Better OS detection (#39) 2016-06-23 16:20:45 +02:00
Kevin van Zonneveld
bd49dda4b4 First swing at linting via Spellcheck #35 2016-06-23 14:13:46 +02:00
Kevin van Zonneveld
56e02e9306 Better button placement 2016-06-23 14:12:43 +02:00
Kevin van Zonneveld
3f0a7c9166 Remove confusion preview 2016-06-23 14:11:11 +02:00
Kevin van Zonneveld
1f2e1842b3 Elaborate on what portability really means for us 2016-06-23 10:07:58 +02:00
Kevin van Zonneveld
2b3ee1d195 Merge branch 'master' of github.com:kvz/bash3boilerplate 2016-06-23 09:48:45 +02:00
Kevin van Zonneveld
2d302dd8ac Be more precise with the extra permissive LICENSE clause 2016-06-23 09:48:24 +02:00
Izaak Beekman
f6a3bb55d4 Merge pull request #36 from Blackbaud-BobbyEarl/master
Fixed typo in README.md
2016-06-22 21:32:18 -04:00
Bobby Earl
3d22171ba3 Fixed typo 2016-06-22 19:25:06 -04:00
Kevin van Zonneveld
b3c3746948 Fix activity feed on homepage 2016-06-22 23:21:45 +02:00
Kevin van Zonneveld
c8441451bc Don't show activity feed on FAQ or CHANGELOG 2016-06-22 21:40:22 +02:00
Kevin van Zonneveld
e4848e360a Update CHANGELOG.md. #34 2016-06-22 20:46:52 +02:00
Kevin van Zonneveld
e0055e5dc1 Fix the bad wording around defaults #34
Thanks to galaktos
2016-06-22 20:44:15 +02:00
Kevin van Zonneveld
845a9dfb50 Clarify that {} is not always required, but rather b3bp-recommended #34
Thanks to galaktos
2016-06-22 20:41:53 +02:00
Kevin van Zonneveld
ca8c0a19df Credit galaktos 2016-06-22 20:39:21 +02:00
Kevin van Zonneveld
1166c878be Improve copy around single equal signs #34
Thanks to galaktos
2016-06-22 20:38:36 +02:00
Kevin van Zonneveld
9dea81377e Fix unquoted variable access within [ tests… #34
Thanks to galaktos
2016-06-22 20:36:17 +02:00
Kevin van Zonneveld
272dd896d0 Shorter title 2016-06-22 10:14:33 +02:00
Kevin van Zonneveld
bc1b96db71 Clean up and categorize best practices 2016-06-22 10:11:56 +02:00
Kevin van Zonneveld
818d7c81c7 Return Windows as OS when under Git Bash (?) #32 2016-06-22 09:52:38 +02:00
Kevin van Zonneveld
494584b6fd Typos 2016-06-21 20:20:57 +02:00
Kevin van Zonneveld
8e9814bc6a Use only http://cobralab.ca/ 2016-06-21 16:12:38 +02:00