Javicle - a JSON Video Composition Language
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

jvcl 770 B

4 år sedan
4 år sedan
4 år sedan
4 år sedan
1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. #
  3. # Run JVCL on a spec
  4. #
  5. # Usage:
  6. #
  7. # jvcl [-t temp-dir] spec-file
  8. #
  9. # If `spec-file` is omitted, then jvcl will try to read a spec from stdin.
  10. #
  11. # Every run of JVCL will create a temp directory. You can either specify the name of the directory
  12. # with `-t` (it will be created if it does not exist), or let jvcl create a temp directory for you.
  13. #
  14. # Note: this command will build the jvcl jar file if needed. The first time you run it, it might
  15. # take a long time to start up.
  16. #
  17. SCRIPT="${0}"
  18. SCRIPT_DIR="$(cd "$(dirname "${SCRIPT}")" && pwd)"
  19. . "${SCRIPT_DIR}"/jvcl_common
  20. DEBUG=""
  21. if [[ -n "${JVCL_DEBUG}" ]] ; then
  22. DEBUG="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005"
  23. fi
  24. java -cp "${JVCL_JAR}" ${DEBUG} jvcl.main.Jvcl "${@}"