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
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

22 linhas
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