Cleanup codes

inja: Using a better implementation for stripping blanks for expressions.
This commit is contained in:
Tindy X committed 2020-08-12 02:03:00 +08:00
1 parent a90ceb4b8e
commit 65ac33d514
19 files changed
+103 -499

No files matched your search

+3 -2
View File
@@ -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 && \
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 ../../..