forked from Gamemode4Dev/GM4_Datapacks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
593 changed files
with
5,966 additions
and
10,503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from beet import Context | ||
from beet import Context, PluginOptions | ||
from typing import Optional | ||
from pathlib import Path | ||
import os | ||
import json | ||
|
@@ -16,6 +17,15 @@ | |
SUPPORTED_GAME_VERSIONS = ["1.20", "1.20.1"] | ||
USER_AGENT = "Gamemode4Dev/GM4_Datapacks/release-pipeline ([email protected])" | ||
|
||
class ModrinthConfig(PluginOptions): | ||
project_id: Optional[str] | ||
|
||
class SmithedConfig(PluginOptions): | ||
pack_id: Optional[str] | ||
|
||
class PMCConfig(PluginOptions): | ||
uid: Optional[int] | ||
|
||
def beet_default(ctx: Context): | ||
"""Saves the datapack to the ./out folder in it's exit phase. | ||
Should be first in pipeline to properly wrap all other plugins cleanup phases""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.