{ "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 } } ] }