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

mbland / go-script-bash / 520
95%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2017 05:32PM UTC
Jobs 1
Files 55
Run time 3s
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
520

Pull #128

travis-ci

web-flow
path: Search `_GO_SCRIPTS_DIR` before plugin dirs

Part of #120, and similar to #122, searching the local `_GO_SCRIPT_DIR`
before plugin dirs seems like a more natural and scalable model.
`_GO_CORE_DIR/libexec` for builtins still comes first.

The idea behind this model is that when reading a script within the
`./go` script framework, it should be clear that:

- core framework scripts are the same everywhere; they can't be shadowed
  by scripts with the same name
- project-local scripts take precedence before any plugin scripts

The implications of this last point are that:

- a script that is installed as a plugin will find its own scripts
  before those that share the same name with other installed plugins,
  avoiding collisions and possibly obscure bugs
- the parent project can determine the precedence of plugin scripts
  sharing the same name, as the plugins can be installed using directory
  names that force a particular order (e.g. '00-', '01-', '02-'
  prefixes).
- as an alternative to the approach in the preceding point, the parent
  project can potentially resolve conflicts by installing its own
  scripts that then delegate to a specific plugin script

And to this last point, I've filed #127 to facilitate help text
discovery.
Pull Request #128: path: Search `_GO_SCRIPTS_DIR` before plugin dirs

1 of 1 new or added line in 1 file covered. (100.0%)

2397 of 2515 relevant lines covered (95.31%)

217.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 520.1 22 Jan 2017 05:32PM UTC 0
95.31
Travis Job 520.1
Source Files on build 520
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #520
  • Pull Request #128
  • PR Base - master (#518)
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