Files
Bjorn Blomberg 16ae22bcba Add new map and tileset files for Windows release
- Created test.tmj and test.tsj files in the maps directory.
- Added tileset.tsj with configuration for the MainTileset including image path and dimensions.
2026-04-26 02:35:31 +02:00

46 lines
1.5 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Build Windows",
"type": "shell",
"command": "mkdir -p release/windows && go build -o release/windows/regin_mountain_game.exe . && cp -r assets release/windows/ && mkdir -p release/windows/assets/maps && cp mapp-maker/*.tmj mapp-maker/*.tsj release/windows/assets/maps/ 2>/dev/null || true",
"options": {
"env": {
"GOOS": "windows",
"GOARCH": "amd64"
}
},
"group": "build",
"problemMatcher": [
"$go"
]
},
{
"label": "Build Linux",
"type": "shell",
"command": "mkdir -p release/linux && go build -o release/linux/regin_mountain_game . && cp -r assets release/linux/ && mkdir -p release/linux/assets/maps && cp mapp-maker/*.tmj mapp-maker/*.tsj release/linux/assets/maps/ 2>/dev/null || true",
"options": {
"env": {
"GOOS": "linux",
"GOARCH": "amd64"
}
},
"group": "build",
"problemMatcher": [
"$go"
]
},
{
"label": "Build All",
"dependsOn": [
"Build Windows",
"Build Linux"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}