DEV Community

Discussion on: A Modern Developer's Workflow For Twine

Collapse
 
tsaftaridis profile image
tsaftaridis

Thank you for the detailed explanations!

Build game fails, however, I can't see if I am doing anything wrong...

Anyone have the same problem?

Run go get github.com/tmedwards/tweego
go get github.com/tmedwards/tweego
export PATH=$PATH:$(go env GOPATH)/bin
tweego testcase.twee -o dist/index.html
shell: /usr/bin/bash -e {0}
env:
GOROOT: /opt/hostedtoolcache/go/1.13.15/x64
warning: path dist/index.html: lstat dist/index.html: no such file or directory
error: Starting passage "Start" not found.
Error: Process completed with exit code 1.

Collapse
 
tsaftaridis profile image
tsaftaridis • Edited

For anyone else using this guide, I got it to deploy to github pages by making the following changes in the config yaml file (workflow):

tweego YOUR_TWEE_FILE.twee -o dist/index.html to
tweego YOUR_TWEE_FILE.twee -o index.html

AND

publish_dir: ./dist
publish_dir: ./

Disclaimer: I am very much a newbie. Don't know if this breaks anything really important down the line.