Simple XML subset parser comparable to glib's Markup parser, but without any dependencies in one self contained file. Forked from https://github.com/ooxi/xml.c
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.

22 rivejä
477 B

  1. #!/bin/bash
  2. set -e
  3. # @see https://stackoverflow.com/a/1482133
  4. DIRECTORY_OF_SCRIPT=`dirname "$(readlink -f "$0")"`
  5. SOURCE_DIRECTORY="${DIRECTORY_OF_SCRIPT}/.."
  6. BUILD_DIRECTORY="${DIRECTORY_OF_SCRIPT}/../build"
  7. if [ -d "${BUILD_DIRECTORY}" ]; then
  8. rm -rf "${BUILD_DIRECTORY}"
  9. fi
  10. mkdir "${BUILD_DIRECTORY}"
  11. (cd "${BUILD_DIRECTORY}" && cmake -DCMAKE_BUILD_TYPE=Release ..)
  12. make --directory "${BUILD_DIRECTORY}" --silent
  13. make --directory "${BUILD_DIRECTORY}" --silent test