trilium/bin/build.sh

24 lines
536 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-01-09 12:34:54 +08:00
echo "Deleting existing builds"
2017-11-09 09:48:48 +08:00
rm -rf dist/*
2017-11-06 07:31:22 +08:00
2019-10-12 03:22:59 +08:00
SRC_DIR=dist/trilium-src
bin/copy-trilium.sh $SRC_DIR
# we'll just copy the same SRC dir to all the builds so we don't have to do npm install in each separately
cp -r $SRC_DIR ./dist/trilium-linux-x64-src
2019-10-16 02:32:43 +08:00
cp -r $SRC_DIR ./dist/trilium-linux-x64-server
2019-10-12 03:22:59 +08:00
cp -r $SRC_DIR ./dist/trilium-windows-x64-src
cp -r $SRC_DIR ./dist/trilium-mac-x64-src
2017-12-28 06:39:41 +08:00
2019-10-12 03:22:59 +08:00
bin/build-win-x64.sh DONTCOPY
2018-11-20 00:16:22 +08:00
2019-10-12 03:22:59 +08:00
bin/build-mac-x64.sh DONTCOPY
2018-12-02 15:42:11 +08:00
2019-10-12 03:22:59 +08:00
bin/build-linux-x64.sh DONTCOPY
2019-02-21 04:58:23 +08:00
2019-10-12 03:22:59 +08:00
bin/build-server.sh DONTCOPY