inspect.sh 795 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/env bash
  2. # Inspect snapshot
  3. # © Copyright 2008 Beman Dawes
  4. # Distributed under the Boost Software License, Version 1.0.
  5. # See http://www.boost.org/LICENSE_1_0.txt
  6. # This script uses ftp, and thus assumes ~/.netrc contains a machine ... entry
  7. pushd posix/tools/inspect/build
  8. bjam
  9. popd
  10. echo inspect...
  11. pushd posix
  12. dist/bin/inspect >../inspect.html
  13. popd
  14. # create the ftp script
  15. echo create ftp script...
  16. echo "dir" >inspect.ftp
  17. echo "binary" >>inspect.ftp
  18. echo "put inspect.html" >>inspect.ftp
  19. echo "delete inspect-snapshot.html" >>inspect.ftp
  20. echo "rename inspect.html inspect-snapshot.html" >>inspect.ftp
  21. echo "dir" >>inspect.ftp
  22. echo "bye" >>inspect.ftp
  23. # use cygwin ftp rather than Windows ftp
  24. echo ftp...
  25. /usr/bin/ftp -v -i boost.cowic.de <inspect.ftp
  26. echo inspect.sh complete
粤ICP备19079148号