diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..f64ba8d --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,7 @@ +FROM gitpod/workspace-go + +RUN sudo apt-get -q update && \ + sudo apt install p7zip-full make && \ + sudo apt install -yq openjdk-17-jdk + +RUN sudo update-java-alternatives --set java-1.17.0-openjdk-amd64 \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..988b34c --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: + file: .gitpod.Dockerfile + +tasks: +- command: make update-packwiz diff --git a/Makefile b/Makefile index f18272f..bc0ddf6 100644 --- a/Makefile +++ b/Makefile @@ -48,3 +48,8 @@ clean: -git gc --aggressive --prune all: curseforge modrinth multimc technic clean + +update-packwiz: + go install github.com/packwiz/packwiz@latest + clear + @echo "Packwiz has been Updated" \ No newline at end of file diff --git a/README.md b/README.md index ee83e14..60cc3d9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ currently this template only supports ### How to use this? +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/from-referrer/) - Modpack Makers - Well first your going to need to install `busybox`, `git`, `go` `7zip`, and `make` on your computer, - On Windows I personally reccomend getting all of these through [Scoop](https://scoop.sh/)