Commit Graph

219 Commits

Author SHA1 Message Date
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
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
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
064f30502f Build plz : ) 2016-11-14 12:16:06 +01:00
539443b3ca Allow for multiline opt description in __usage. Fixes #7 2016-11-11 20:13:01 +01:00
0181129aff Add all logos 2016-11-11 11:22:46 +01:00
87530e756e Adding b3bp logo (#64) 2016-11-11 09:51:43 +01:00
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
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
9928ef16d7 Update version 2016-11-08 13:07:29 +01:00
8f06b1a927 Release 2.1.0 v2.1.0 2016-11-08 13:07:28 +01:00
e6275924b5 Update CHANGELOG.md 2016-11-08 13:07:20 +01:00
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
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
86ab1128ed Add FAQ about accessing unset vars #16 (#42) 2016-11-08 12:58:33 +01:00
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
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
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
35b51072b3 No more os detection (#41) 2016-06-24 13:12:41 +02:00
8bbba18f7e Offer the main template for download as http://bash3boilerplate.sh/main.sh 2016-06-24 11:47:28 +02:00
03a2ec5adf Better OS detection (#39) 2016-06-23 16:20:45 +02:00
bd49dda4b4 First swing at linting via Spellcheck #35 2016-06-23 14:13:46 +02:00
56e02e9306 Better button placement 2016-06-23 14:12:43 +02:00
3f0a7c9166 Remove confusion preview 2016-06-23 14:11:11 +02:00
1f2e1842b3 Elaborate on what portability really means for us 2016-06-23 10:07:58 +02:00
2b3ee1d195 Merge branch 'master' of github.com:kvz/bash3boilerplate 2016-06-23 09:48:45 +02:00
2d302dd8ac Be more precise with the extra permissive LICENSE clause 2016-06-23 09:48:24 +02:00
f6a3bb55d4 Merge pull request #36 from Blackbaud-BobbyEarl/master
Fixed typo in README.md
2016-06-22 21:32:18 -04:00
3d22171ba3 Fixed typo 2016-06-22 19:25:06 -04:00
b3c3746948 Fix activity feed on homepage 2016-06-22 23:21:45 +02:00
c8441451bc Don't show activity feed on FAQ or CHANGELOG 2016-06-22 21:40:22 +02:00
e4848e360a Update CHANGELOG.md. #34 2016-06-22 20:46:52 +02:00
e0055e5dc1 Fix the bad wording around defaults #34
Thanks to galaktos
2016-06-22 20:44:15 +02:00
845a9dfb50 Clarify that {} is not always required, but rather b3bp-recommended #34
Thanks to galaktos
2016-06-22 20:41:53 +02:00
ca8c0a19df Credit galaktos 2016-06-22 20:39:21 +02:00
1166c878be Improve copy around single equal signs #34
Thanks to galaktos
2016-06-22 20:38:36 +02:00
9dea81377e Fix unquoted variable access within [ tests… #34
Thanks to galaktos
2016-06-22 20:36:17 +02:00
272dd896d0 Shorter title 2016-06-22 10:14:33 +02:00
bc1b96db71 Clean up and categorize best practices 2016-06-22 10:11:56 +02:00
818d7c81c7 Return Windows as OS when under Git Bash (?) #32 2016-06-22 09:52:38 +02:00
494584b6fd Typos 2016-06-21 20:20:57 +02:00
8e9814bc6a Use only http://cobralab.ca/ 2016-06-21 16:12:38 +02:00
dba28c0e8e Make the activity log more pleasant 2016-06-21 14:15:20 +02:00
be3ca43dff Add social banners 2016-06-21 14:06:25 +02:00
28865fc633 Update CHANGELOG.md 2016-06-21 13:55:17 +02:00
0bfba0661c Silence Atom stylelint complaints 2016-06-21 13:55:09 +02:00
e56e21dc37 b3bp dogfooding for acceptance.sh 2016-06-21 13:51:51 +02:00
09cf71d23c Make version replacement work across new form 2016-06-21 13:49:42 +02:00
64488e569a For delete-key-friendliness, bundle the commandline definition block along with its parser 2016-06-21 13:49:11 +02:00
e0aadaf50c Comment each set with a single line 2016-06-21 13:48:37 +02:00