summaryrefslogtreecommitdiff
path: root/tools/release/inspect.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/inspect.sh')
-rwxr-xr-xtools/release/inspect.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/release/inspect.sh b/tools/release/inspect.sh
new file mode 100755
index 0000000000..7c04fb58c2
--- /dev/null
+++ b/tools/release/inspect.sh
@@ -0,0 +1,31 @@
+#!/usr/bin/env bash
+
+# Inspect snapshot
+
+# © Copyright 2008 Beman Dawes
+# Distributed under the Boost Software License, Version 1.0.
+# See http://www.boost.org/LICENSE_1_0.txt
+
+# This script uses ftp, and thus assumes ~/.netrc contains a machine ... entry
+
+pushd posix/tools/inspect/build
+bjam
+popd
+echo inspect...
+pushd posix
+dist/bin/inspect >../inspect.html
+popd
+
+# create the ftp script
+echo create ftp script...
+echo "dir" >inspect.ftp
+echo "binary" >>inspect.ftp
+echo "put inspect.html" >>inspect.ftp
+echo "delete inspect-snapshot.html" >>inspect.ftp
+echo "rename inspect.html inspect-snapshot.html" >>inspect.ftp
+echo "dir" >>inspect.ftp
+echo "bye" >>inspect.ftp
+# use cygwin ftp rather than Windows ftp
+echo ftp...
+/usr/bin/ftp -v -i boost.cowic.de <inspect.ftp
+echo inspect.sh complete