/
githubmirror
/
zstd
Обзор
Документация
Войти
/
githubmirror
/
zstd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
build/single_file_libs/create_single_file_decoder.sh
19 строк
565 B
Carl Woffenden
Test and tidy
19 янв 2022, 13:32
19 янв 2022, 13:32
7d90f0b
Код
Авторство
О чём код?
#!/bin/sh # Where to find the sources ZSTD_SRC_ROOT="../../lib" # Amalgamate the sources echo "Amalgamating files..." # Using the faster Python script if we have 3.8 or higher if python3 -c 'import sys; assert sys.version_info >= (3,8)' 2>/dev/null; then ./combine.py -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstddeclib.c zstddeclib-in.c else ./combine.sh -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstddeclib.c zstddeclib-in.c fi # Did combining work? if [ $? -ne 0 ]; then echo "Combine script: FAILED" exit 1 fi echo "Combine script: PASSED"