Merge branch '312-vscode-build-script' into 'master'
Resolve "VSCode build-script" Closes #312 See merge request Pmodules/buildblocks!487
This commit is contained in:
12
Tools/VSCode/build
Executable file
12
Tools/VSCode/build
Executable 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:
|
||||
27
Tools/VSCode/files/config.yaml
Normal file
27
Tools/VSCode/files/config.yaml
Normal file
@@ -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
|
||||
16
Tools/VSCode/modulefile
Normal file
16
Tools/VSCode/modulefile
Normal 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
|
||||
"
|
||||
Reference in New Issue
Block a user