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
Enforce editorconfig style by travis CI + fix style violations #127
Conversation
676e4e2
to
513b588
Compare
513b588
to
61e9c35
Compare
Rebased on current master. |
This looks like a good idea, but I have no experience with anything like this, so here's my question: Will this complain about the style of pull requests, so people offering a pull request will know what to change? Or will it only tell me what is wrong after I merge it? |
61e9c35
to
a75a4d4
Compare
a75a4d4
to
0200a5d
Compare
@mist64 Yes, the check will be performed every time travis-ci performs a build, which is on every action on the git tree of this repository: a push to a branch, tagging of a commit, on every pull request, ... |
Is it possible to have just one .editorconfig file? |
I created multiple configs because the files in |
* Check .editorconfig rules in travis-ci + update .editorconfig * Move ym2151 and gif.h to extern source folder * Fix editorconfig violations + ignore cpu/extern subfolder
gif.h
andym2151.[ch]
to an external folder as these are files not owned by ths project (and keep the diff to the original small)cpu
andextern
directory, as (most of) these files are included from external projectsStatus before this pull request: https://travis-ci.com/madebr/x16-emulator/jobs/239039488
Status after this pull request: https://travis-ci.com/madebr/x16-emulator/jobs/239067490 (no violations)