mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +00:00
* Unify the version source Changes the development config to use version from package.json and makes the production config use the same utility function. Also removes the version file as it's no longer needed. * Remove some Steam references from build process Removes files needed to publish the game on Steam and related tasks that can be only used by the developer anyway. Only the build process is affected, the actual game part still supports Steam integration. * Refactor/add packaging tasks Adds new Gulp tasks to create a distributable package of the game. A task for macOS is not provided because signing needs to be figured out first. Package creation tasks are also aliased in package.json for future usage in external tools or CI. Aside from that, alternative methods of downloading the libGDX Texture Packer are dropped.
27 lines
562 B
JavaScript
27 lines
562 B
JavaScript
/**
|
|
* @type {Record<string, {
|
|
* standalone: boolean,
|
|
* environment?: 'dev' | 'staging' | 'prod',
|
|
* electronBaseDir?: string,
|
|
* executableName?: string
|
|
* }>}
|
|
*/
|
|
export const BUILD_VARIANTS = {
|
|
"web-localhost": {
|
|
standalone: false,
|
|
environment: "dev",
|
|
},
|
|
"web-shapezio-beta": {
|
|
standalone: false,
|
|
environment: "staging",
|
|
},
|
|
"web-shapezio": {
|
|
standalone: false,
|
|
environment: "prod",
|
|
},
|
|
"standalone-steam": {
|
|
standalone: true,
|
|
executableName: "shapez",
|
|
},
|
|
};
|