I continue my Lua series with part 3 — testing, mocks, and continuous integration.

martin-fieber.de/blog/how-to-t

#lua #luarocks #luaunit

Last updated 1 year ago

· @Jummit
14 followers · 153 posts · Server mastodon.gamedev.place

@vanja I did this with once, didn't even manage to create a package to put my code in. I went with in the end, and installing packages with was surprisingly pleasant.

I'm trying right now, which would've been a lot more mearable if I had used it back then.

#python #lua #luarocks #hare

Last updated 1 year ago

· @Jummit
5 followers · 100 posts · Server mastodon.gamedev.place

Wrote a little script to parse and create game files using :

git.sr.ht/~jummit/bitsy-format

It can convert between .bitsy and .json files:

parse-bitsy game.bitsy # prints the json
parse-bitsy game.json # prints the bitsy format

It's also on : luarocks.org/modules/Jummit/bi

#fennel #bitsy #lua #luarocks

Last updated 1 year ago

New article! Part 2 of my 8-part Lua series. This time about creating, building, and publishing packages for Lua: martin-fieber.de/blog/create-b

Series overview: martin-fieber.de/series/lua/

#luaseries #lua #luarocks

Last updated 2 years ago

Ellison · @ellison
38 followers · 651 posts · Server bolha.us

and has been removing support to Lua 5.1 in order to harm . Since LuaJIT is far superior to Lua, that movement tends to isolate the Lua fanatic cult from the rest of the wold.

#LuaJIT #luarocks #lua

Last updated 2 years ago

I’m writing a series of articles about Lua, covering different aspects of the language and the surrounding ecosystem. I just published part 1, focusing on the project setup with LuaRocks: martin-fieber.de/blog/lua-proj

Series overview: martin-fieber.de/series/lua/

#luacheck #luaformatter #projectsetup #luarocks #lua

Last updated 2 years ago

Mark Derricutt (talios) · @talios
742 followers · 2452 posts · Server mastodon.nz

Just found github.com/Omikhleia/markdown. - an enhanced Markdown module for the sile typesetter (alternative to LaTeX) - also found djot.net via there as well. Sample PDF rendering looks absolutely gorgeous - sadly I can’t seem to install it due to a bug (gist.github.com/talios/dcb25f4) that I’ll have to investigate another night.

#luarocks

Last updated 2 years ago

Em vez de fazer o que eu devia estar fazendo, obviamente eu estou procrastinando procurando uma alternativa ao gravador de tela em GIF que eu usava para preparar material de apoio às aulas. Achei um , que parece que é escrito em , o que me obrigou a instalar , e como eu sou tosco no pamac ele está atualizanfo neste momento 2GB de coisas no meu Manjaro.

#peek #gifine #lualang #luarocks

Last updated 2 years ago

Gergely Nagy 🐁 · @algernon
1147 followers · 7563 posts · Server trunk.mad-scientist.club

I love that ' builtin build method copies ./lua to the right place as-is. This allows me to use the build method for my little project without any weird tricks.

Yes, the stuff I install won't be usable from Lua without Fennel. That's fine, it isn't meant to be. Nor is the package on LuaRocks - I just supply a rockspec file to build it locally.

#luarocks #fennel

Last updated 3 years ago

Hisham · @hisham_hm
1197 followers · 4364 posts · Server mastodon.social

RT @soapdog@twitter.com

@hisham_hm@twitter.com I think I got working on Windows on ARM:

🌑 github.com/luarocks/luarocks/p

It worked well enough to install LuaFileSystem and some other rocks.

cc

🐦🔗: twitter.com/soapdog/status/121

#luarocks #lualang #lua #windowsonarm

Last updated 5 years ago

Michal :verified: · @michal
87 followers · 1198 posts · Server toot.kottman.xyz

Installing in on Android, hurdle 3:

$ luarocks install luasec OPENSSL_DIR=$PREFIX

When building with external dependencies, you have to specify the $PREFIX directory (provided by Termux). There's probably a way to configure this globally but I haven't found that option yet. Also, you need to specify the variable at end of command line (as an arg) instead of as environment variable at the beginning because .

#luarocks #termux #reasons

Last updated 6 years ago

Michal :verified: · @michal
87 followers · 1198 posts · Server toot.kottman.xyz

Installing in on Android, hurdle 2:

$ ls -l -d .
drwx------ 18 u0_a95 u0_a95 4096 Nov 29 20:12 .
$ echo 'export USER=u0_a95' >> ~/.bashrc
$ . ~/.bashrc

LuaRocks uses the $USER variable extensively, but Termux does not set it by default. LuaRocks also checks permissions, so you cannot just make it up. Use the user owning your home directory.

#luarocks #termux

Last updated 6 years ago

Michal :verified: · @michal
87 followers · 1198 posts · Server toot.kottman.xyz

Installing in on Android, hurdle 1:

$ apt install unzip

The default "unzip" Busybox applet does not recognize the "--version" flag which LuaRocks uses to check if the tool works.

#luarocks #termux

Last updated 6 years ago

Hisham · @hisham_hm
1197 followers · 4364 posts · Server mastodon.social