Commit Graph

271 Commits

Author SHA1 Message Date
Kevin van Zonneveld
044ef6d1c5 Cleanup files no longer needed after Lanyon 2016-12-15 20:07:47 +01:00
Kevin van Zonneveld
42e9ec669d Upgrade Lanyon to v0.0.46 2016-12-15 15:38:53 +01:00
Kevin van Zonneveld
d0bfc96166 Merge branch 'master' of github.com:kvz/bash3boilerplate 2016-12-15 15:12:10 +01:00
Kevin van Zonneveld
a5c3d1c793 Upgrade Lanyon to v0.0.45 2016-12-15 15:12:08 +01:00
Manuel Streuhofer
ce755604da run shellcheck as part of the acceptance test (#77)
* install shellcheck from debian sid repository

* cleanup acceptance shell script

use a uniq temp directory and cleanup
make sure commands we use/need are installed

* shellcheck main.sh

* shellcheck example.sh

* shellcheck test/acceptance.sh

* brace all variables, used [[ instead of [
2016-12-15 12:57:42 +01:00
Kevin van Zonneveld
f763b47d2b Upgrade Lanyon to v0.0.44 2016-12-15 12:22:09 +01:00
Kevin van Zonneveld
15b1092262 Fix Travis error
Unsupported platform for fsevents@1.0.15: wanted
{"os":"darwin","arch":"any"}

Unsupported platform for fsevents@1.0.15: wanted
{"os":"darwin","arch":"any"}

https://travis-ci.org/kvz/bash3boilerplate/jobs/184200578#L757

https://github.com/npm/npm/issues/14042
2016-12-15 12:16:31 +01:00
Kevin van Zonneveld
70f7a2905c Upgrade Lanyon to v0.0.43 2016-12-15 11:41:24 +01:00
Kevin van Zonneveld
44c856d41a Upgrade Lanyon to v0.0.42 2016-12-14 17:22:00 +01:00
Kevin van Zonneveld
971096d73b Upgrade Lanyon to v0.0.41 2016-12-14 16:00:52 +01:00
Kevin van Zonneveld
19dfb9cff4 Utilize Lanyon cachebusting 2016-12-14 15:42:06 +01:00
Kevin van Zonneveld
cfbfd527d5 Upgrade Lanyon to v0.0.40 2016-12-14 15:31:53 +01:00
Manuel Streuhofer
cf85af8c15 brace all variables, used [[ instead of [ (#76)
Closes #33
2016-12-14 09:54:25 +01:00
Izaak Beekman
02cb82c9e6 Merge pull request #73 from mstreuhofer/usage-validation
Added automatic usage validation for required args

Thanks again for another wonderful contribution, @mstreuhofer!
2016-12-09 15:25:57 -05:00
Manuel Streuhofer
9350e0574c added automatic usage validation for required args
If the description of an option contains the single word sentence
'Required.' it is understood as a required argument and automatic
validation will make sure that it is set or end the script by calling
help.

Alternatively, if the argument within the __usage string is {arg}
instead of [arg] it is understood as a required argument and automatic
validation will make sure that it is set or end the script by calling
help (even if 'Required.' is not in the description).

Closes #22
2016-12-09 00:54:52 +01:00
Izaak Beekman
2c91db3faa Merge pull request #72 from mstreuhofer/vade-retro-eval
removed all usage of eval, proper usage of unset

Safer code,  💯 @mstreuhofer
2016-12-08 18:27:09 -05:00
Manuel Streuhofer
1e69fd5e21 removed all usage of eval, proper usage of unset
replaced all `eval` with `printf -v` for security reasons.

the behaviour of unset without -v/-f is actually undefined so make the
intent clear.
2016-12-06 18:06:25 +01:00
Izaak Beekman
68323978d4 Merge pull request #70 from mstreuhofer/color
Fix auto-color-off code

 Thanks to @mstreuhofer for another great contribution 🎊 🙇
2016-12-05 12:37:28 -05:00
Izaak Beekman
0a1b799e77 Merge pull request #71 from mstreuhofer/extcmd
Reduced usage of external sed + egrep

 Thanks to @mstreuhofer for the PR 🎉 💯
2016-12-05 12:33:37 -05:00
Kevin van Zonneveld
c4c0e6ffec Downgrade Lanyon to v0.0.32 2016-12-04 14:41:32 +01:00
Kevin van Zonneveld
d21dd23827 Upgrade Lanyon to v0.0.33 2016-12-04 14:27:58 +01:00
Manuel Streuhofer
b8bdaf371a get rid of awk, sed & egrep usage 2016-12-03 18:52:40 +01:00
Manuel Streuhofer
290c65d4b9 fix auto-color-off code
turn off colors if NO_COLOR is "true" or TERM is not "xterm*" or STDERR
is not connected to a terminal, but ignore TERM and STDERR if NO_COLOR
is set to "false" explicitly.

Fixes #69
2016-12-03 18:52:10 +01:00
Kevin van Zonneveld
b38310e915 Move inject to Lanyon prebuild 2016-12-03 14:02:25 +01:00
Kevin van Zonneveld
b14eec4675 Accept HMR 2016-12-03 13:59:49 +01:00
Kevin van Zonneveld
8ce2ed44c0 Upgrade Lanyon to v0.0.32 2016-12-01 17:56:39 +01:00
Kevin van Zonneveld
96ce0c8206 Upgrade Lanyon to v0.0.26 2016-12-01 16:05:57 +01:00
Kevin van Zonneveld
f0cb04dec7 (hopefully) Fix matrix 2016-12-01 15:56:41 +01:00
Kevin van Zonneveld
046f3ab99a Inject for production 2016-12-01 15:24:57 +01:00
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