No Description

full-build 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/bash
  2. #
  3. # Copyright © 2021 Stephen Starkey
  4. #
  5. # This file is part of Freefrog.
  6. #
  7. # Freefrog is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as published by
  9. # the Free Software Foundation, either version 3 of the License, or
  10. # (at your option) any later version.
  11. #
  12. # Freefrog is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. mkdir -p docs
  21. lein ancient > docs/ancient.txt
  22. if [ "$(uname)" == "Darwin" ]; then
  23. sed -i '' '/up-to-date/d' docs/ancient.txt
  24. elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
  25. sed -i '/up-to-date/d' docs/ancient.txt
  26. fi
  27. ./fail-if-nonempty docs/ancient.txt &&
  28. lein kibit > docs/kibit.txt &&
  29. ./fail-if-nonempty docs/kibit.txt &&
  30. lein bikeshed &&
  31. lein spec -f d -C > docs/specs.txt &&
  32. lein docs