mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
Cleanup codes
inja: Using a better implementation for stripping blanks for expressions.
This commit is contained in:
19 files changed
+103
-499
No files matched your search
+3
-2
@@ -1,7 +1,8 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Tindy X <tindy.it@gmail.com>
|
||||
FROM alpine:3.12
|
||||
LABEL maintainer "tindy.it@gmail.com"
|
||||
|
||||
# build minimized
|
||||
WORKDIR /
|
||||
RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers cmake python2 && \
|
||||
apk add --no-cache --virtual .build-deps curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev && \
|
||||
git clone https://github.com/svaarala/duktape --depth=1 && \
|
||||
|
||||
@@ -40,6 +40,6 @@ g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -
|
||||
|
||||
cd base
|
||||
chmod +rx subconverter
|
||||
chmod +r *
|
||||
chmod +r ./*
|
||||
cd ..
|
||||
mv base subconverter
|
||||
@@ -43,7 +43,7 @@ c++ -Xlinker -unexported_symbol -Xlinker "*" -o base/subconverter -framework Cor
|
||||
|
||||
cd base
|
||||
chmod +rx subconverter
|
||||
chmod +r *
|
||||
chmod +r ./*
|
||||
cd ..
|
||||
mv base subconverter
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ cc -c -O3 -o duktape.o duktape.c
|
||||
cc -c -O3 -o duk_module_node.o -I. ../extras/module-node/duk_module_node.c
|
||||
ar cr libduktape.a duktape.o
|
||||
ar cr libduktape_module.a duk_module_node.o
|
||||
install -m0644 *.a /data/data/com.termux/files/usr/lib
|
||||
install -m0644 ./*.a /data/data/com.termux/files/usr/lib
|
||||
install -m0644 duk*.h /data/data/com.termux/files/usr/include
|
||||
install -m0644 ../extras/module-node/duk_module_node.h /data/data/com.termux/files/usr/include
|
||||
cd ../../..
|
||||
Reference in new issue
Block a user