|
|
@ -1,4 +1,4 @@ |
|
|
|
all: clean |
|
|
|
all: savedb clean |
|
|
|
mkdir -p bin && \
|
|
|
|
mkdir -p bin && \
|
|
|
|
cd src && CGO_ENABLED=0 go build && mv dela ../bin && \
|
|
|
|
cd src && CGO_ENABLED=0 go build && mv dela ../bin && \
|
|
|
|
cd .. && \
|
|
|
|
cd .. && \
|
|
|
@ -6,9 +6,14 @@ all: clean |
|
|
|
cp -r scripts bin && \
|
|
|
|
cp -r scripts bin && \
|
|
|
|
cp -r static bin
|
|
|
|
cp -r static bin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-mv dela.db bin/
|
|
|
|
|
|
|
|
|
|
|
|
portable: clean all |
|
|
|
portable: clean all |
|
|
|
cd bin/ && cp ../COPYING . && cp ../README.md . && zip -r dela.zip * && mv dela.zip ..
|
|
|
|
cd bin/ && cp ../COPYING . && cp ../README.md . && zip -r dela.zip * && mv dela.zip ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
savedb: |
|
|
|
|
|
|
|
-cp bin/dela.db .
|
|
|
|
|
|
|
|
|
|
|
|
cross: clean |
|
|
|
cross: clean |
|
|
|
mkdir -p bin
|
|
|
|
mkdir -p bin
|
|
|
|
mkdir -p bin/dela_linux_x64
|
|
|
|
mkdir -p bin/dela_linux_x64
|
|
|
|