Skip to content

Commit

Permalink
add development tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jnovack committed Jun 22, 2023
1 parent 8b6d6a5 commit 4ce4f9f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
.DS_Store
37 changes: 37 additions & 0 deletions .vscode/tasks.json
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"
}
]
}

0 comments on commit 4ce4f9f

Please sign in to comment.