protoc-gen-eams.bat 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @echo off
  2. ::
  3. :: Copyright (C) 2020 Embedded AMS B.V. - All Rights Reserved
  4. ::
  5. :: This file is part of Embedded Proto.
  6. ::
  7. :: Embedded Proto is open source software: you can redistribute it and/or
  8. :: modify it under the terms of the GNU General Public License as published
  9. :: by the Free Software Foundation, version 3 of the license.
  10. ::
  11. :: Embedded Proto is distributed in the hope that it will be useful,
  12. :: but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. :: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. :: GNU General Public License for more details.
  15. ::
  16. :: You should have received a copy of the GNU General Public License
  17. :: along with Embedded Proto. If not, see <https://www.gnu.org/licenses/>.
  18. ::
  19. :: For commercial and closed source application please visit:
  20. :: <https://EmbeddedProto.com/license/>.
  21. ::
  22. :: Embedded AMS B.V.
  23. :: Info:
  24. :: info at EmbeddedProto dot com
  25. ::
  26. :: Postal address:
  27. :: Johan Huizingalaan 763a
  28. :: 1066 VH, Amsterdam
  29. :: the Netherlands
  30. ::
  31. :: This file is used to invoke protoc-gen-eams.py as a plugin to protoc on
  32. :: Windows. The reason this has to be used is that protoc expects a binary or
  33. :: terminal script as plugin. Directly calling python scripts is not supported.
  34. venv\Scripts\python generator\protoc-gen-eams.py --protoc-plugin