Last active
October 23, 2015 03:36
-
-
Save newmana/45f526be5fb858dfc1bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./stack install hprotoc | |
~/.local/bin/hprotoc ./gtfs-realtime.proto | |
The proto file needed to be hacked in 4 ways: | |
* comment out/delete the 'syntax = "proto2";' line. | |
* insert line breaks before end curly braces: | |
extensions 1000 to 1999; | |
} | |
* remove the newline in the definition of schedule_relationship | |
optional ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; | |
* Added UNKNOWN = 5; to TripDescriptor's ScheduleRelationships. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment