change deploy
This commit is contained in:
parent
68c3521d92
commit
921fd47f67
28
Makefile
28
Makefile
@ -1,12 +1,30 @@
|
|||||||
build:
|
all:
|
||||||
make clean
|
make clean
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cp -r ./public/* ./build
|
make thesis -B
|
||||||
cp ./thesis/main.pdf ./build/mt-polygon-simplification-2019.pdf
|
make source-code-bundle -B
|
||||||
|
make public-files -B
|
||||||
|
make benchmarking-build -B
|
||||||
|
|
||||||
|
benchmarking-build:
|
||||||
cd ./benchmarking && npm install && npm run build
|
cd ./benchmarking && npm install && npm run build
|
||||||
cp -r ./benchmarking/dist ./build/benchmarking
|
cp -r ./benchmarking/dist ./build/benchmarking
|
||||||
cd ./compare-algorithms && npm install && npm run build
|
|
||||||
cp -r ./compare-algorithms/dist ./build/polygon-simplification
|
thesis:
|
||||||
|
cp ./thesis/main.pdf ./build/mt-polygon-simplification.pdf
|
||||||
|
|
||||||
|
public-files:
|
||||||
|
cp -r ./public/* ./build
|
||||||
|
|
||||||
|
source-code-bundle:
|
||||||
|
mkdir -p build
|
||||||
|
cd .. && tar -czf /tmp/mt-polygon-simplification.tar.gz \
|
||||||
|
--exclude-from mt-polygon-simplification/.gitignore \
|
||||||
|
--exclude mt-polygon-simplification/.git \
|
||||||
|
--exclude mt-polygon-simplification/build \
|
||||||
|
--exclude mt-polygon-simplification/deploy.sh \
|
||||||
|
mt-polygon-simplification
|
||||||
|
mv /tmp/mt-polygon-simplification.tar.gz build/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
Loading…
Reference in New Issue
Block a user