Javicle - a JSON Video Composition Language
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

28 satır
810 B

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