Commit Graph

458 Commits

Author SHA1 Message Date
Izaak Beekman
9b86dcced8 Merge pull request #87 from kvz/fixup-after-230
fixup example.sh like 2.3.0 main.sh
2017-02-14 14:32:21 -05:00
Izaak Beekman
2bbf6eed2e
Merge branch 'master' into fixup-after-230 2017-02-14 12:24:02 -05:00
Kevin van Zonneveld
ff37895ea4 SCROLEX_MODE=passthru 2017-02-14 17:17:10 +01:00
Kevin van Zonneveld
39e0607bcb Merge branch 'master' into fixup-after-230 2017-02-14 17:09:32 +01:00
Kevin van Zonneveld
748fdcfab3 Upgrade lanyon@0.0.54 2017-02-14 16:00:48 +01:00
Kevin van Zonneveld
c52a73598e Move to install 2017-02-14 15:42:29 +01:00
Kevin van Zonneveld
755eb0d02f bc is not really needed 2017-02-14 15:24:34 +01:00
Kevin van Zonneveld
b1861f9fab Fix chicken/egg with Lanyon install 2017-02-14 15:12:04 +01:00
Kevin van Zonneveld
b280139595 Upgrade lanyon and don't install it in every single setup 2017-02-14 15:00:34 +01:00
Izaak Beekman
cb29b2f984
Restore @mstreuhofer's changes that I clobbered 2017-02-10 19:00:00 -05:00
Izaak Beekman
2d5506cb36
Perform syntax checking with all available bashes
Add tests to help catch bash4-isms and ensure syntax is checked with
 all bashes on PATH in a given system.
2017-02-10 18:58:36 -05:00
Izaak Beekman
986191210a
Update FAQ website instructions
`npm run start` didn't work for me... I had to get yarn and do `yarn
 install` first. I'm guessing this will be true for others.
2017-02-10 18:58:36 -05:00
Izaak Beekman
0d1f488365
Fix shellchk and show usage for new magic var
Update acceptance tests
2017-02-10 18:58:35 -05:00
Izaak Beekman
7eea26c7b4
Attempt fix for OS X CI build 2017-02-10 18:58:25 -05:00
Manuel Streuhofer
d879ae1fe0 fixup example.sh like 2.3.0 main.sh
__i_am_main_script logic fixed for example.sh
added double-sourced test
2017-02-10 20:40:38 +01:00
Kevin van Zonneveld
382217eebf Update version 2017-02-10 15:32:48 +01:00
Kevin van Zonneveld
ba2d901cc2 Release 2.3.0 2017-02-10 15:32:47 +01:00
Kevin van Zonneveld
36db2227c7 Update CHANGELOG.md 2017-02-10 15:32:34 +01:00
Izaak Beekman
7cf9ea708d Issue 44 issue 21 issue 47 (#85)
* Fix shifting over `--`: don't throw errexit

 Fixes #21

* Add error trapping (including Ctrl-C) info to FAQ

 Closes #47

* Add backtracing to help localize errors

 - Fixes #44
 - Backtracing is turned on when the debugging `-d` flag is passed,
   otherwise backtracing function defined but signal trap not set.
 - Update main-help fixture due to moving trap

* Untabify main.sh

 Might be a controversial move, but I loath tabs...

* Add checks for tab chars and trailing whitespace

 - Update poor-man's style enforcement script to check for these
   violations
 - Better document style guidlines in README with small tweaks

* Add a magic variable to indicate if being source

 if `__i_am_main_script=1 #true` then `main.sh` called directly
 Fixes #45
2017-02-10 15:03:07 +01:00
Izaak Beekman
7f9419cda0 Merge pull request #83 from kvz/prtemplate
Add Pull Request Template
2017-02-09 16:03:42 -05:00
Manuel Streuhofer
47be547cfa extend acceptance test to check for code style (#81)
* extend acceptance test to check for code style

* cleanup following own style guide
2016-12-21 19:30:28 +01:00
Kevin van Zonneveld
21cafb3c34 Update changelog 2016-12-21 09:59:32 +01:00
Kevin van Zonneveld
ea6bbd058f Update version 2016-12-21 09:52:22 +01:00
Kevin van Zonneveld
884c55c616 Release 2.2.0 2016-12-21 09:52:21 +01:00
Kevin van Zonneveld
31ee23ba9b Add back replace dependency 2016-12-21 09:52:11 +01:00
Kevin van Zonneveld
f44385ced3 Add PULL_REQUEST_TEMPLATE.md 2016-12-21 09:46:15 +01:00
Kevin van Zonneveld
9c3ba0ad77 Add more changelog entries for v2.2.0 2016-12-21 09:40:10 +01:00
Kevin van Zonneveld
00acb0383b Consistent labeling of github meta 2016-12-21 09:32:33 +01:00
Kevin van Zonneveld
0c878b7623 Fix casing and present tense 2016-12-21 09:31:06 +01:00
Manuel Streuhofer
d383e8c098 prepared changelog for release 2.2.0 (#82)
moved entries in changelog from `unreleased` to 2.1.0 (even
though technically it's too late for that since that version was already
released).

added new section for 2.2.0 and added some points on what changed.

bumped version to 2.2.0 in main.sh, example.sh and package.json

Closes #74
2016-12-21 09:29:02 +01:00
Kevin van Zonneveld
ac7fad3e29 Upgrade node dependencies (#78)
* Upgrade node dependencies

* Upgrade Lanyon to v0.0.34

* Upgrade Lanyon to v0.0.37

* Upgrade Lanyon to v0.0.38
2016-12-20 09:23:28 +01:00
Kevin van Zonneveld
d17152253c Fix shellcheck linting 2016-12-16 14:48:58 +01:00
Kevin van Zonneveld
8c35bc9e76 Cleanup superfluous <title> 2016-12-16 14:40:17 +01:00
Kevin van Zonneveld
bbb589ee0a Merge branch 'master' of github.com:kvz/bash3boilerplate 2016-12-16 14:18:22 +01:00
Kevin van Zonneveld
80f6c82c18 Upgrade Lanyon to v0.0.47 2016-12-16 14:16:02 +01:00
Kevin van Zonneveld
191b8118e0 Remove nodemon dependency by letting Lanyon handle web-scanning 2016-12-16 13:58:11 +01:00
Manuel Streuhofer
785e7e9f8b Cleanup all *.sh following shellcheck advice (#80)
* Cleanup all *.sh following shellcheck advice

Closes #79

* do not shellcheck scripts out of our control
2016-12-16 08:18:03 +01:00
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