Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions app-utils/code-server/autobuild/build
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
abinfo "Installing build dependency ..."
yarn install --frozen-lockfile
npm i

abinfo "Building code-server ..."
yarn build
yarn build:vscode
yarn release
cd "$SRCDIR"/release
yarn --production
cd "$SRCDIR"
yarn release:standalone
npm run build
pushd $SRCDIR/lib/vscode
npm ci
popd
npm run build:vscode
npm run release
npm run release:standalone

abinfo "Installing code-server ..."
mkdir -pv "$PKGDIR"/usr/lib/code-server
Expand Down
4 changes: 2 additions & 2 deletions app-utils/code-server/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PKGNAME=code-server
PKGDES="Run VS Code on a remote server"
PKGSEC=utils
PKGDEP="libsecret"
BUILDDEP="jq nodejs"
PKGDEP="libsecret nodejs"
BUILDDEP="jq"

ABSTRIP=0

Expand Down
3 changes: 1 addition & 2 deletions app-utils/code-server/autobuild/prepare
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
acbs_copy_git

abinfo "Setting version var ..."
export VERSION=$PKGVER
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$PKGVER\"/g" $SRCDIR/package.json

abinfo "Prevent Corepack from showing the URL ..."
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
4 changes: 2 additions & 2 deletions app-utils/code-server/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER=4.93.1
SRCS="git::commit=tags/v$VER::https://github.com/coder/code-server.git"
VER=4.107.0
SRCS="git::commit=tags/v$VER;copy-repo=true::https://github.com/coder/code-server.git"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=231692"