diff --git a/Tools/VSCode/build b/Tools/VSCode/build new file mode 100755 index 0000000..89c436d --- /dev/null +++ b/Tools/VSCode/build @@ -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: diff --git a/Tools/VSCode/files/config.yaml b/Tools/VSCode/files/config.yaml new file mode 100644 index 0000000..aeaa30c --- /dev/null +++ b/Tools/VSCode/files/config.yaml @@ -0,0 +1,27 @@ +--- +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: + VSCode-1.100.2.tar.gz: 5c2cbbeaa08b92340dce899a78d66be8d92c09b4d75313bfdfc46fb3bddca5c0 + versions: + 1.100.2: + config: + relstage: unstable + 1.87.0: + config: + relstage: stable + 1.38.1_rhel7;1.73.1: + config: + relstage: deprecated diff --git a/Tools/VSCode/modulefile b/Tools/VSCode/modulefile new file mode 100644 index 0000000..e3b9bf6 --- /dev/null +++ b/Tools/VSCode/modulefile @@ -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 " + +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 +"