Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My contribution #32

Merged
merged 6 commits into from
Oct 29, 2018
Merged

My contribution #32

merged 6 commits into from
Oct 29, 2018

Conversation

jocgir
Copy link
Contributor

@jocgir jocgir commented Oct 29, 2018

No description provided.

- Avoid possible conflict by making the build config private to avoid it being defined in a user config file
- Transform RunBefore and RunAfter into private array to allow cumulation of commands as it is done with build configs.
We wanted to execute scripts in reverse declared order but this code execute scripts in reverse string order (which is completely different)
Moving default initialization prior to evaluate the arguments breaks the argument parser (i.e. The default config is evaluated without considering the supplied arguments).
This was also breaking when no argument was supplied
The loop over a map was useless
Add support for quoted arguments in alias
@coveralls
Copy link

Pull Request Test Coverage Report for Build 619

  • 36 of 49 (73.47%) changed or added relevant lines in 3 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.3%) to 15.809%

Changes Missing Coverage Covered Lines Changed/Added Lines %
docker.go 0 3 0.0%
config.go 36 40 90.0%
main.go 0 6 0.0%
Files with Coverage Reduction New Missed Lines %
config.go 1 53.07%
main.go 1 0.0%
Totals Coverage Status
Change from base Build 614: 0.3%
Covered Lines: 126
Relevant Lines: 797

💛 - Coveralls

@jocgir jocgir merged commit 8e7802d into support-aliases Oct 29, 2018
@jocgir jocgir deleted the my-contribution branch October 29, 2018 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants