Gitpod Support (#2)

* add gitpod configs

* add gitpod to readme

* add more gitpod support

* enhance update-pacwiz
This commit is contained in:
Merith 2022-05-27 08:12:41 -07:00 committed by GitHub
parent 82666bf91a
commit 72aee4e469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

7
.gitpod.Dockerfile vendored Normal file
View file

@ -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

5
.gitpod.yml Normal file
View file

@ -0,0 +1,5 @@
image:
file: .gitpod.Dockerfile
tasks:
- command: make update-packwiz

View file

@ -48,3 +48,8 @@ clean:
-git gc --aggressive --prune -git gc --aggressive --prune
all: curseforge modrinth multimc technic clean all: curseforge modrinth multimc technic clean
update-packwiz:
go install github.com/packwiz/packwiz@latest
clear
@echo "Packwiz has been Updated"

View file

@ -12,6 +12,7 @@ currently this template only supports
### How to use this? ### 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 - Modpack Makers
- Well first your going to need to install `busybox`, `git`, `go` `7zip`, and `make` on your computer, - 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/) - On Windows I personally reccomend getting all of these through [Scoop](https://scoop.sh/)