Commit Graph

242 Commits

Author SHA1 Message Date
Kevin van Zonneveld
1e9d1548a3 Merge branch 'master' of github.com:kvz/bash3boilerplate 2016-12-01 14:55:43 +01:00
Kevin van Zonneveld
1f13dfae78 Upgrade Lanyon to v0.0.25 2016-12-01 14:55:41 +01:00
Manuel Streuhofer
9b739b4cf0 Fix some code caught by shellcheck (#68) 2016-12-01 14:40:56 +01:00
Kevin van Zonneveld
bdb501bec0 Upgrade Lanyon to v0.0.24 2016-12-01 14:27:37 +01:00
Kevin van Zonneveld
64dc269217 Upgrade Lanyon to v0.0.23 2016-12-01 14:12:27 +01:00
Kevin van Zonneveld
d556893774 Upgrade Lanyon to v0.0.22 2016-12-01 14:01:53 +01:00
Kevin van Zonneveld
93c9c25c88 Upgrade Lanyon to v0.0.21 2016-12-01 13:41:41 +01:00
Kevin van Zonneveld
f41c05d971 yarn still messes up nested bins: https://github.com/yarnpkg/yarn/issues/760 2016-12-01 13:34:12 +01:00
Kevin van Zonneveld
16d699b67b Upgrade Lanyon to v0.0.20 2016-12-01 13:10:10 +01:00
Kevin van Zonneveld
36b9ce280b With yarn cache, do not cache node_modules on Travis 2016-12-01 12:51:52 +01:00
Kevin van Zonneveld
a178a95c26 Utilize yarn on Travis 2016-12-01 12:49:06 +01:00
Kevin van Zonneveld
fc766c7437 Upgrade Lanyon to v0.0.19 2016-12-01 12:46:45 +01:00
Kevin van Zonneveld
96220cea12 Add workaround for https://github.com/travis-ci/travis-ci/issues/5092 2016-12-01 11:36:40 +01:00
Kevin van Zonneveld
ddd89a787a Add Travis caching 2016-12-01 10:47:57 +01:00
Kevin van Zonneveld
b4d16f5317 Add Travis caching 2016-12-01 10:47:17 +01:00
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