mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
Fix build scripts
This commit is contained in:
@@ -46,6 +46,7 @@ RUN set -xe && \
|
||||
source "$HOME/.xmake/profile" && \
|
||||
xmake f --root --static=false -m release -y -v && \
|
||||
xmake --root -v subconverter && \
|
||||
cp "$(find build -type f -name subconverter)" . && \
|
||||
python3 -m ensurepip && \
|
||||
python3 -m pip install gitpython && \
|
||||
python3 scripts/update_rules.py -c scripts/rules_config.conf
|
||||
|
||||
@@ -53,7 +53,7 @@ set -xe
|
||||
|
||||
xmake f --root --static=true -m release -y -v
|
||||
xmake --root -v subconverter
|
||||
cp "$(find build -name subconverter -type f)" base/subconverter
|
||||
cp "$(find build -name subconverter.exe -type f)" base/subconverter.exe
|
||||
|
||||
python -m ensurepip
|
||||
python -m pip install gitpython
|
||||
|
||||
@@ -9,9 +9,9 @@ package("curl-static")
|
||||
add_deps("mbedtls")
|
||||
add_syslinks("pthread")
|
||||
elseif is_plat("windows", "mingw") then
|
||||
add_deps("zlib")
|
||||
add_syslinks("advapi32", "crypt32", "wldap32", "winmm", "ws2_32", "user32", "bcrypt")
|
||||
end
|
||||
add_deps("zlib")
|
||||
|
||||
on_install(function (package)
|
||||
local configs = {}
|
||||
|
||||
Reference in New Issue
Block a user