Fix line endings at LF and make windows proto generation work again. needs cygwin64 in path
This commit is contained in:
@@ -1 +1,5 @@
|
||||
cd protobufs && ..\nanopb-0.4.7\generator-bin\protoc.exe --nanopb_out=-v:..\src\mesh\generated\meshtastic -I=..\protobufs meshtastic\*.proto
|
||||
cd protobufs && ..\nanopb-0.4.7\generator-bin\protoc.exe --nanopb_out=-v:..\src\mesh\generated -I=..\protobufs ..\protobufs\meshtastic\*.proto
|
||||
|
||||
cd ../src/mesh/generated/meshtastic
|
||||
sed -i 's/#include "meshtastic/#include "./g' *
|
||||
sed -i 's/meshtastic_//g' *
|
||||
|
||||
Reference in New Issue
Block a user