Unit Testing and CI with Löve2D

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
khamarr3524
Prole
Posts: 41
Joined: Thu Sep 05, 2013 8:48 pm

Unit Testing and CI with Löve2D

Post by khamarr3524 »

So, no questions or anything but I'm just super stoked to have gotten this whole process done. As someone with minimal Linux experience and minimal CI experience, I was able to go from nothing to having a docker container running Jenkins in a CentOS virtual machine pull my repo on commit, run unit tests using Busted, pull the Windows love2d zip, compile the bytecode for the lua files and create the .exe and archive it. It feels like a major accomplishment that only took me a week of learning to get done. I was surprised how easily things worked together and getting things running once I sorted out my issues with Docker.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Unit Testing and CI with Löve2D

Post by raidho36 »

Why'd you compile Lua code if you put it inside an .exe anyway?
khamarr3524
Prole
Posts: 41
Joined: Thu Sep 05, 2013 8:48 pm

Re: Unit Testing and CI with Löve2D

Post by khamarr3524 »

It reduces the file size. It isn't a big deal yet, but its something I won't have to worry about in the future. Also, when you create a love2d game .exe file its basically just a zip file you can open up.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest