From a3b6fc149895a7f4c29acd6bba70546edec41438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 10 Aug 2018 10:22:38 -0400 Subject: [build] vendor std::expected polyfill --- scripts/vendor/expected.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/vendor/expected.sh (limited to 'scripts') 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" -- cgit v1.2.1