From: AJ ONeal Date: Wed, 17 Jun 2020 06:43:50 +0000 (+0000) Subject: add standard files X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=2a63b1c6f82da905a62c4a0fad85a7cd0adca7da;p=webi-installers%2F.git add standard files --- diff --git a/webi/install.sh b/webi/install.sh index 535598d..6531614 100644 --- a/webi/install.sh +++ b/webi/install.sh @@ -1,49 +1,7 @@ #!/bin/bash -# title: Webi -# homepage: https://webinstall.dev -# tagline: | -# Webi is how developers install their tools. -# description: | -# Webi is what you would have created if you automated how you install your common tools yourself: Simple, direct downloads from official sources, unpacked into `$HOME/.local`, added to `PATH`, symlinked for easy version switching, with minimal niceties like resuming downloads and 'stable' tags. -# -# - Easy to remember. -# - No magic, no nonesense, no bulk. -# - What you would have done for yourself. -# -# examples: | -# You can install _exactly_ what you need, from memory, via URL: -# -# ```bash -# curl https://webinstall.dev/node@lts | bash -# ``` -# -# Or via `webi`, the tiny `curl | bash` shortcut command that comes with each install: -# -# ```bash -# webi node@latest -# ``` -# -# ```bash -# webi golang@v1.14 -# ``` -# -# ```bash -# webi rustlang -# ``` -# -# You can see exactly what PATHs have been edited: -# -# ```bash -# pathman list -# ``` -# -# And where: -# -# ```bash -# cat $HOME/.config/envman/PATH.env -# ``` -# +# Note: 'webi' is a special case. It's actually just a helper utility that comes with every installer. +# See https://github.com/webinstall/packages/blob/master/_webi/bootstrap.sh for the source. { diff --git a/webi/package.yash b/webi/package.yash new file mode 100644 index 0000000..57c4fa8 --- /dev/null +++ b/webi/package.yash @@ -0,0 +1,46 @@ +# title: Webi +# homepage: https://webinstall.dev +# tagline: | +# Webi is how developers install their tools. +# description: | +# Webi is what you would have created if you automated how you install your common tools yourself: Simple, direct downloads from official sources, unpacked into `$HOME/.local`, added to `PATH`, symlinked for easy version switching, with minimal niceties like resuming downloads and 'stable' tags. +# +# - Easy to remember. +# - No magic, no nonesense, no bulk. +# - What you would have done for yourself. +# +# examples: | +# You can install _exactly_ what you need, from memory, via URL: +# +# ```bash +# curl https://webinstall.dev/node@lts | bash +# ``` +# +# Or via `webi`, the tiny `curl | bash` shortcut command that comes with each install: +# +# ```bash +# webi node@latest +# ``` +# +# ```bash +# webi golang@v1.14 +# ``` +# +# ```bash +# webi rustlang +# ``` +# +# You can see exactly what PATHs have been edited: +# +# ```bash +# pathman list +# ``` +# +# And where: +# +# ```bash +# cat $HOME/.config/envman/PATH.env +# ``` +# + +END diff --git a/webi/releases.js b/webi/releases.js new file mode 100644 index 0000000..f6deae5 --- /dev/null +++ b/webi/releases.js @@ -0,0 +1,43 @@ +'use strict'; + +module.exports = async function () { + return { + releases: [ + { + name: 'webi.tar', + version: '0.0.0', + lts: false, + channel: 'stable', + date: '', + os: 'linux', + arch: 'amd64', + ext: 'tar', + download: '' + }, + { + name: 'webi.tar', + version: '0.0.0', + lts: false, + channel: 'stable', + date: '', + os: 'macos', + arch: 'amd64', + ext: 'tar', + download: '' + }, + { + name: 'webi.tar', + version: '0.0.0', + lts: false, + channel: 'stable', + date: '', + os: 'windows', + arch: 'amd64', + ext: 'tar', + download: '' + } + ], + formats: [], + downloads: '' + }; +};