mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
Add auto-sync script for rules
Update build scripts.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -xe
|
||||
|
||||
apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool python2
|
||||
apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool python2 python3
|
||||
apk add mbedtls-dev mbedtls-static zlib-dev rapidjson-dev libevent-dev libevent-static zlib-static pcre2-dev
|
||||
|
||||
git clone https://github.com/curl/curl --depth=1 --branch curl-7_88_1
|
||||
@@ -46,6 +46,10 @@ make -j2
|
||||
rm subconverter
|
||||
g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -static -lpcre2-8 -levent -lyaml-cpp -L/usr/lib64 -lcurl -lmbedtls -lmbedcrypto -lmbedx509 -lz -l:quickjs/libquickjs.a -llibcron -O3 -s
|
||||
|
||||
python3 -m ensurepip
|
||||
python3 -m pip install gitpython
|
||||
python3 scripts/update_rules.py -c scripts/rules_config.conf
|
||||
|
||||
cd base
|
||||
chmod +rx subconverter
|
||||
chmod +r ./*
|
||||
|
||||
Reference in New Issue
Block a user