Commit Graph

207 Commits

Author SHA1 Message Date
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
Kevin van Zonneveld
dba28c0e8e Make the activity log more pleasant 2016-06-21 14:15:20 +02:00
Kevin van Zonneveld
be3ca43dff Add social banners 2016-06-21 14:06:25 +02:00
Kevin van Zonneveld
28865fc633 Update CHANGELOG.md 2016-06-21 13:55:17 +02:00
Kevin van Zonneveld
0bfba0661c Silence Atom stylelint complaints 2016-06-21 13:55:09 +02:00
Kevin van Zonneveld
e56e21dc37 b3bp dogfooding for acceptance.sh 2016-06-21 13:51:51 +02:00
Kevin van Zonneveld
09cf71d23c Make version replacement work across new form 2016-06-21 13:49:42 +02:00
Kevin van Zonneveld
64488e569a For delete-key-friendliness, bundle the commandline definition block along with its parser 2016-06-21 13:49:11 +02:00
Kevin van Zonneveld
e0aadaf50c Comment each set with a single line 2016-06-21 13:48:37 +02:00
Kevin van Zonneveld
008face7c8 Less verbose header comments 2016-06-21 13:48:08 +02:00
Kevin van Zonneveld
4926bbc942 For delete-key-friendliness, don't crash on undeclared help vars 2016-06-21 13:38:47 +02:00
Kevin van Zonneveld
83b13e5f55 Adopt a few more best practices from my old blogpost http://kvz.io/blog/2013/11/21/bash-best-practices/ 2016-06-21 13:37:47 +02:00
Kevin van Zonneveld
649b5a0f44 Introduce errtrace, which is on by default (BREAKING) 2016-06-21 13:36:48 +02:00
Kevin van Zonneveld
f7fc992b2d Update CHANGELOG.md 2016-06-21 13:36:28 +02:00
Kevin van Zonneveld
efefd5cf2b Update fixtures after introducing helptext 2016-06-21 13:08:43 +02:00
Kevin van Zonneveld
5ee427eef5 Allow adding a help that is not parsed. See #24 2016-06-21 12:30:12 +02:00
Kevin van Zonneveld
b71ca507ab Merge branch 'whouses' 2016-06-21 12:25:54 +02:00
Kevin van Zonneveld
8bed4a2aaf Add a FAQ: how to contribute to the websit 2016-06-21 12:19:02 +02:00
Kevin van Zonneveld
4c45be4269 Add a GitHub activity feed to the website 2016-06-21 12:18:50 +02:00
Kevin van Zonneveld
156f12f53f Merge pull request #31 from kvz/whouses
Add a who uses section to the readme/website
2016-06-21 11:57:19 +02:00
Kevin van Zonneveld
16401017e0 Invite folks to get listed 2016-06-21 11:52:22 +02:00