-
Notifications
You must be signed in to change notification settings - Fork 48
/
.example-screeps.yaml
57 lines (54 loc) · 2.16 KB
/
.example-screeps.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
servers:
# Deploy to the main MMO server - note that tokens are
# the only supported auth method for official servers (mmo, season, and ptr)
mmo:
host: screeps.com
secure: true
token: your-auth-token-here
branch: default
# The public test realm can be a good place to test your code
ptr:
host: screeps.com
secure: true
token: your-auth-token-here
path: /ptr
branch: default
# Seasonal server configuration - this environment has unique mechanics each
# season, so it might make sense to have feature flag(s) for different mechanics
season:
host: screeps.com
secure: true
token: your-auth-token-here
path: /season
branch: default
private-server:
host: 127.0.0.1
port: 21025
secure: false
username: user
password: password
branch: default
configs:
# Whether to minify generated javascript for each configured server
terser:
# The special '*'' key sets a default for all servers which
# will be **overridden** by an applicable per-server config
'*': false
ptr: false
localhost: false
# Additional options to pass to wasm-pack to customize the build for each server
wasm-pack-options:
# The special '*'' key sets flags applied to all servers, which
# will be **concatenated** with any applicable per-server config
# These settings cause the target wasm feature set to exclude newer features not present on Screeps'
# Node.js version.
'*': ["--config", "build.rustflags=['-Ctarget-cpu=mvp']", "-Z", "build-std=std,panic_abort"]
# Alternatively, individual problematic features can be disabled:
#'*': ["--config", "build.rustflags=['-Ctarget-feature=-reference-types','-Ctarget-feature=-multivalue','-Ctarget-feature=-sign-ext']", "-Z", "build-std=std,panic_abort"]
# This setting enables the `mmo` crate feature for these destinations,
# which enables the API functions for intershard communication and pixel
# generation, which are specific to MMO
mmo: ["--features", "mmo"]
ptr: ["--features", "mmo"]
# Other servers can each have their own build flags, including crate features:
#season: ["--features", "my-season-7-feature"]