-
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.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
.DS_Store |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Create build/ directory", | ||
"type": "shell", | ||
"command": "mkdir -p build/ | true" | ||
}, | ||
{ | ||
"label": "Build Data Pack", | ||
"dependsOn": [ | ||
"Create build/ directory" | ||
], | ||
"type": "shell", | ||
"command": "cd datapacks/creeper-birthday-party/; zip -r ../../build/$(basename $(git rev-parse --show-toplevel))-$(git describe --tag --match 'v*')-datapack.zip . -x .DS_Store" | ||
}, | ||
{ | ||
"label": "Build Resource Pack", | ||
"dependsOn": [ | ||
"Create build/ directory" | ||
], | ||
"type": "shell", | ||
"command": "cd resourcepacks/creeper-birthday-party/; zip -r ../../build/$(basename $(git rev-parse --show-toplevel))-$(git describe --tag --match 'v*')-resourcepack.zip . -x .DS_Store" | ||
}, | ||
{ | ||
"label": "Build All", | ||
"dependsOn": [ | ||
"Build Data Pack", | ||
"Build Resource Pack" | ||
], | ||
"group": "build", | ||
"detail": "Build .zip files for deployment" | ||
} | ||
] | ||
} |