master
Meliurwen 3 years ago
parent 53ff94a5c4
commit cb106b78e5
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 16
      src/build.npm.sh
  2. 19
      src/build.sh
  3. 12
      src/install.npm.thirdparty.sh
  4. 14
      src/main.sh

@ -0,0 +1,16 @@
#!/bin/sh
set -e
apt-get update
apt-get -qq -y --no-install-recommends install curl jq ca-certificates git g++ gcc make clang wget xz-utils python sudo
mkdir build_node
cd build_node/ || exit
wget https://nodejs.org/dist/v12.14.1/node-v12.14.1.tar.xz
tar xf node-v12.14.1.tar.xz
mv node-v12.14.1 node
cd node || exit
./configure
make -j4
make install
node --version

@ -1,24 +1,15 @@
#!/bin/sh
#set -e
set -e
apt-get update
apt-get -qq -y --no-install-recommends install curl jq ca-certificates git g++ gcc make clang wget xz-utils python sudo
mkdir build_node
cd build_node/ || exit
wget https://nodejs.org/dist/v12.14.1/node-v12.14.1.tar.xz
tar xf node-v12.14.1.tar.xz
mv node-v12.14.1 node
cd node || exit
./configure
make -j4
make install
node --version
apt-get -y --no-install-recommends install git jq imagemagick curl build-essential pkg-config libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm
npm install yarn --global
cd .. || exit
git clone https://github.com/VSCodium/vscodium.git
cd vscodium/ || exit
sed '/create_appimage\.sh/d' -i build.sh
./build/build_linux.sh

@ -0,0 +1,12 @@
#!/bin/sh
set -e
apt-get update
apt-get -qq -y --no-install-recommends install curl wget ca-certificates sudo
curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
apt-get -qq -y install nodejs
node --version

@ -1,7 +1,17 @@
#!/bin/sh
#set -e
set -e
echo "Building node..."
./build.npm.sh
#./install.npm.thirdparty.sh
echo "Building VSCodium..."
./build.sh
./deploy.sh vscodium/.build/linux/deb/amd64/deb repo/incoming .ready
echo "Package(s) deploy..."
DIST_DIR="vscodium/.build/linux/deb/amd64/deb"
INCOMING_DIR="repo/incoming"
READY_SUFFIX=".ready"
mkdir -p "${INCOMING_DIR}"
./deploy.sh "${DIST_DIR}" "${INCOMING_DIR}" "${READY_SUFFIX}"

Loading…
Cancel
Save