Added formatting check to makefile and ci #17

Merged
JonasFranz merged 5 commits from feature/16-code-format into master 2018-10-15 17:16:47 +00:00
Owner

Fixes #16

Fixes #16
konrad added this to the 0.1 milestone 2018-10-08 14:37:49 +00:00
JonasFranz was assigned by konrad 2018-10-08 14:37:49 +00:00
konrad added the
Type: Enhancement
Type: Build
labels 2018-10-08 14:38:29 +00:00
Collaborator

@konrad Maybe we could use flutter format -n lib instead because it won't make any actual changes and just lists the unformatted files.

@konrad Maybe we could use `flutter format -n lib` instead because it won't make any actual changes and just lists the unformatted files.
Collaborator

Maybe use something like:

if [[ $(flutter format -n lib) ]]; then
    echo "Please run 'make format' and commit the result";
    exit 1;
fi
Maybe use something like: ```sh if [[ $(flutter format -n lib) ]]; then echo "Please run 'make format' and commit the result"; exit 1; fi ```
Author
Owner

Fixed.

Fixed.
JonasFranz closed this pull request 2018-10-15 17:16:47 +00:00
konrad deleted branch feature/16-code-format 2018-10-17 08:24:38 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.