mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-03 13:02:42 +02:00
Specify working directory for the serve-locally target
Meson doc says that run_targets are run in an unspecified directory.
This commit is contained in:
@@ -7,6 +7,13 @@ import ssl
|
||||
import sys
|
||||
import time
|
||||
|
||||
(
|
||||
script,
|
||||
build_root,
|
||||
) = sys.argv
|
||||
|
||||
os.chdir(build_root)
|
||||
|
||||
HTTP_HOST = '127.0.0.1'
|
||||
HTTP_PORT = 8000
|
||||
HTTP_INDEX = 'serve-wasm.index.html'
|
||||
|
Reference in New Issue
Block a user