Skip to content

Commit

Permalink
feat: load games from the web (missing some platforms)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilp0inter committed Jun 7, 2020
1 parent 2cd9588 commit faa4490
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 107 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ deploy-with-log: webmenu.sh
ssh ${MISTER_USER}@${MISTER_HOST} '${MISTER_SCRIPTS}/webmenu.sh'

develop-all:
find . -type f -name '*.elm' -or -name '*.go' -or -name '*.html' -or -name '*.sh' | entr -cd make deploy-with-log
find . -type f -name '*.lua' -or -name '*.elm' -or -name '*.go' -or -name '*.html' -or -name '*.sh' | entr -cd make deploy-with-log

develop-web:
cd web && elm-live src/Main.elm -h 0.0.0.0 --open -d build --start-page="index.html" -- --output="build/elm.min.js"
Expand Down
2 changes: 1 addition & 1 deletion src/srv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ func LUAMount(L *lua.LState) int {
func LUAMatch(L *lua.LState) int {
exp := L.ToString(1)
s := L.ToString(2)
matched, err := regexp.Match(exp, []byte(s))
matched, err := regexp.Match("(?i)"+exp, []byte(s))
if err != nil {
L.RaiseError(err.Error())
}
Expand Down
Loading

0 comments on commit faa4490

Please sign in to comment.