• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mbland / go-script-bash / 543
95%

Build:
DEFAULT BRANCH: master
Ran 26 Jan 2017 04:06PM UTC
Jobs 1
Files 55
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
543

Pull #135

travis-ci

web-flow
core: Extract @go.search_plugins

Part of #120. This implements semantics similar to npm's `node_modules`
by providing a parent directory-recursive plugin search.

After implementing #130 and coming back to my original
`@go.find_plugin_item_path` that I'd had in another branch, I realized
the parent-recursive search could be abstracted into
`@go.search_plugins`. Ironically, it was implementing the algorithm
first in `_@go.set_search_paths` than enabled me to more thoroughly test
the extracted function, since plugin scope was already established and
tested. Talk about circular dependencies!

As with the earlier commits building up #120, the implication is that
rather than having all plugins comprising an application always checkout
their own plugins in their own subtree, eventually they can be installed
in their parent's plugin directory.  This nesting of plugins can be
arbitrarily deep, ending at the top-level `_GO_PLUGINS_DIR`.

This will help break cyclical dependencies (though they should still be
avoided) and save disk space, and paves the way for semantic versioning
and `npm`-like functionality (but in pure Bash, modulo `git` or `curl`,
et. al, via `./go get`).
Pull Request #135: Extract @go.search_plugins

13 of 13 new or added lines in 2 files covered. (100.0%)

2431 of 2556 relevant lines covered (95.11%)

226.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 543.1 26 Jan 2017 04:06PM UTC 0
95.11
Travis Job 543.1
Source Files on build 543
  • Tree
  • List 0
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #543
  • Pull Request #135
  • PR Base - master (#541)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc