emu: extract options to (ignored) emu.config

pull/25/head
Pavol Rusnak 8 years ago
parent ecac1d79f2
commit 93ad93ff94
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

1
.gitignore vendored

@ -1,2 +1,3 @@
_attic/
vendor/src/
emu.config

@ -1,9 +1,14 @@
#!/bin/bash
ARGS="${ARGS:--O0 -X heapsize=100000}"
source emu.config 2>/dev/null
OPTLEVEL="${OPTLEVEL:-0}"
HEAPSIZE="${HEAPSIZE:-100000}"
MAIN="${MAIN:-main.py}"
BROWSER="${BROWSER:-chromium}"
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
cd `dirname $0`/src
case "$1" in

Loading…
Cancel
Save