summaryrefslogtreecommitdiff
path: root/scripts/vendor/expected.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vendor/expected.sh')
-rwxr-xr-xscripts/vendor/expected.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/vendor/expected.sh b/scripts/vendor/expected.sh
new file mode 100755
index 0000000000..58c98902f6
--- /dev/null
+++ b/scripts/vendor/expected.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
+
+NAME=expected
+VERSION=a2359cf61478d735a308e952b1c9840714f61386
+ROOT=expected-lite-$VERSION
+
+download "https://github.com/martinmoene/expected-lite/archive/$VERSION.tar.gz"
+init
+extract "$ROOT/include" "$ROOT/LICENSE.txt"
+mv include/nonstd/expected.hpp include
+rm -rf include/nonstd
+file_list include -name "*.hpp"