flutter / website

Flutter documentation web site

Home Page:https://docs.flutter.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI: ensure that example code is analyzed and tested

chalin opened this issue · comments

Reinstate code checks that were temporarily disabled by #2738:

Related:

  • Code excerpts: use new tooling and infra #2233

The problem is that Travis Ubuntu uses GNU diff 3.x and macOS is still at 2.x (the macOS version is very old).

#3916 updates the README. Maybe you'd like a simple diff version check added to tool/refresh-code-excerpts.sh before closing this issue?

For the record, I did check diff behavior differences across OSs when this problem surfaced. I'm not sure why I concluded that the diff tool wasn't the issue back then. That kinda set me on a wild goose chase :-/. Anyhow, thanks to @dnfield for again suggesting that it might be a diff tool issue. Taking a second look did the trick -- actually having access to a Linux box helped make the investigation much easier!

Can this be closed?

Depends if you'd like a version check added to the refresh script, for example.