build.sh 403 B

123456789101112131415161718192021
  1. #!/bin/sh -e
  2. # SPDX-License-Identifier: GPL-3.0-or-later
  3. # Copyright © 2018-2019 Ariadne Devos
  4. #
  5. # Run this script if you have a lot of untracked files in your tree,
  6. # before pushing to the public repo.
  7. if [ ! -d smoke-build ]; then
  8. mkdir smoke-build
  9. else
  10. rm -r smoke-build
  11. mkdir smoke-build
  12. fi
  13. cd smoke-build
  14. git --work-tree=. --git-dir=../.git checkout HEAD -- .
  15. autoreconf
  16. ./configure
  17. make