summaryrefslogtreecommitdiff
path: root/scripts/vendor/expected.sh
blob: 58c98902f6a22f05513b63b33b012346783ffdd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"