slampenny / Swaggervel

Swagger for Laravel
492 stars 175 forks source link

Issue #61: Prevent doc-dir from being overwritten on each generate #62

Open w0rd-driven opened 8 years ago

w0rd-driven commented 8 years ago

This addresses issue #61.

Reverted to workflow introduced before commit d2b68480f2977e26c3976c2fdb01be03f22a5c91.

Obliterating the directory in the current manner was causing havoc with our deployment. I was erroneously committing the local contents and files generated on the server would typically be newer, causing the deployment to break. This change allows a local .gitignore to follow the convention set in other storage directories, preventing the need to touch the project-wide gitignore.