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

Ignore swag file from root dir only #775

Merged
merged 2 commits into from
Aug 18, 2020
Merged

Ignore swag file from root dir only #775

merged 2 commits into from
Aug 18, 2020

Commits on Aug 14, 2020

  1. Ignore swag file from root dir only

    The rule `swag` matches not only file in main directory but also folder in `cmd/swag`.
    I've changed it to match only in current folder. For visual I've changed also `swag.exe`.
    
    I've run into issue when I tried to vendor sources for swag but also for tool. The main.go got ignored by git, I was required to `git add -f vendor/github.com/swaggo/swag/cmd/swag/main.go`
    arvenil authored Aug 14, 2020
    Configuration menu
    Copy the full SHA
    817f97f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f8b3fc View commit details
    Browse the repository at this point in the history