diff --git a/.gitignore b/.gitignore index 3b125621..3f05e69e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /test/e2e/assets/simple-app/empty-dir .idea *.iml +/vendir.json diff --git a/SCOOP_GUIDELINES.md b/SCOOP_GUIDELINES.md new file mode 100644 index 00000000..b9e2d97d --- /dev/null +++ b/SCOOP_GUIDELINES.md @@ -0,0 +1,21 @@ +# :bookmark_tabs:Scoop guidelines + +[Scoop](https://scoop.sh/) is a command-line installer for Windows. + +# :rocket:Get started + +For now, to manually and locally install `vendir` : + +``` +git clone https://github.com/vmware-tanzu/carvel-vendir.git +cd carvel-vendir +export TARGET_VERSION=0.21.1 +sed 's/$VENDIR_VERSION/'"$TARGET_VERSION"'/g' vendir.json.template > vendir.json +scoop install vendir +``` + +# :point_right:To do + +To get this from a central repo, it is highly recommended to create a +dedicated [Scoop Bucket](https://github.com/lukesampson/scoop/wiki/Buckets). + diff --git a/vendir.json.template b/vendir.json.template new file mode 100644 index 00000000..72edcbe5 --- /dev/null +++ b/vendir.json.template @@ -0,0 +1,10 @@ +{ + "description": "Carvel vendir is a tool that makes it easy to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively", + "notes": "See https://carvel.dev/vendir/#examples for some examples", + "version": "$VENDIR_VERSION", + "homepage": "https://carvel.dev/vendir/", + "license": "https://github.com/vmware-tanzu/carvel-vendir/blob/develop/LICENSE", + "url": "https://github.com/vmware-tanzu/carvel-vendir/releases/download/v$VENDIR_VERSION/vendir-windows-amd64.exe#/vendir.exe", + "bin": "vendir.exe", + "post_install": "vendir version" +}