PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 satır
852B

  1. #!/bin/sh
  2. #
  3. # Generate an archive with packaged content for easier delivery.
  4. # The generated archive contains:
  5. # - Source files (MIDI.cpp / MIDI.h)
  6. # - Resources (keywords.txt)
  7. # - Examples for Arduino IDE
  8. # - Installation scripts
  9. cd "`dirname "${0}"`"
  10. root="${PWD}/.."
  11. build="$root/build/dist/MIDI"
  12. echo "root: $root"
  13. echo "build: $build"
  14. # Create a destination directory structure
  15. mkdir -p "$build/examples"
  16. mkdir -p "$build/src"
  17. # Copy sources
  18. cp -rf "$root/src" "$build"
  19. # Copy resources
  20. cp -f "$root/keywords.txt" "$build/"
  21. cp -f "$root/library.properties" "$build/"
  22. cp -f "$root/library.json" "$build/"
  23. cp -f "$root/LICENSE" "$build/"
  24. # Copy examples
  25. cp -rf "$root/examples" "$build"
  26. # Generate package
  27. cd "$build/.."
  28. zip -r Arduino_MIDI_Library.zip MIDI
  29. # Generate doc
  30. cd "$root/doc"
  31. doxygen