VSCode build-block added

This commit is contained in:
2025-05-20 11:07:55 +02:00
parent f996f02c41
commit 3e92d0cfa4
3 changed files with 48 additions and 0 deletions

12
Tools/VSCode/build Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env modbuild
pbuild::install() {
:
cd "${PREFIX}"
tar --strip-components=1 -xvf "${PMODULES_DISTFILESDIR}/VSCode-${V_PKG}.tar.gz"
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

View File

@@ -0,0 +1,20 @@
---
format: 1
VSCode:
defaults:
group: Tools
overlay: base
relstage: stable
systems: [.*]
build_functions:
configure: []
compile: []
urls:
- url: https://update.code.visualstudio.com/${V_PKG}/linux-x64/stable
name: VSCode-${V_PKG}.tar.gz
unpacker: none
shasums:
versions:
1.100.2:
config:
relstage: unstable

16
Tools/VSCode/modulefile Normal file
View File

@@ -0,0 +1,16 @@
#%Module1.0
module-whatis "lightweight but powerful source code editor"
module-url "https://code.visualstudio.com/docs"
module-license "See: https://code.visualstudio.com/license"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Visual Studio Code is a lightweight but powerful source code editor
which runs on your desktop and is available for Windows, macOS and
Linux. It comes with built-in support for JavaScript, TypeScript
and Node.js and has a rich ecosystem of extensions for other languages
(such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET
and Unity). Begin your journey with VS Code with these introductory
videos: https://code.visualstudio.com/docs/introvideos/overview
"