Skip to content

Commit

Permalink
gen subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo committed Jan 13, 2025
1 parent 809e8ff commit d9f3ab1
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ IMG_WIDTH=200
IMG_HEIGHT=150

IMG_OUTPUT_PATH=output.png
RENDER_IMG_COMMAND="stack exec swarm-scene -- $SCENARIO_PATH --fail-blank --dest $IMG_OUTPUT_PATH --png --width $IMG_WIDTH --height $IMG_HEIGHT"
RENDER_IMG_COMMAND="cabal run swarm-scene -- $SCENARIO_PATH --fail-blank --dest $IMG_OUTPUT_PATH --png --width $IMG_WIDTH --height $IMG_HEIGHT"

stack build --fast swarm:swarm-scene
cabal build -j -O0 swarm:swarm-scene

$RENDER_IMG_COMMAND
code --reuse-window $SCENARIO_PATH && code --reuse-window $IMG_OUTPUT_PATH
Expand Down
3 changes: 3 additions & 0 deletions scripts/gen/live/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
These commands rely upon a running swarm game instance with a webserver
listening on port `5357`.

File renamed without changes.

0 comments on commit d9f3ab1

Please sign in to comment.