Is there anything like a version manager for Löve?
Posted: Mon Jul 27, 2020 9:00 am
Hi, lövers
I've been making games with löve for about ten years now, and so I have a collection of projects throughout löve versions ranging from 0.7 to 11.3 now, and it's a bit of a hassle working with these, because of the breaking API changes from version to version
I've used a conf.lua file with the correct version tagged each time, and so I'd like to be able to run the correct löve executable automatically when launching these projects from the command line. Similar to how nvm works for node.js
Right now I've just made myself a love-apps folder that contains all of the love.app versions I've used so far, and I make symbolic links in my local ~/bin folder so I can use whichever I like (love090 ./src if I want to run löve 0.9.0, for instance)
So main question is: is there a tool similar to nvm that will auto-run the correct löve version depending on the conf.lua file?
And if not: How do you manage your löve versions and projects if like me you have projects across a broad range of versions?
I've been making games with löve for about ten years now, and so I have a collection of projects throughout löve versions ranging from 0.7 to 11.3 now, and it's a bit of a hassle working with these, because of the breaking API changes from version to version
I've used a conf.lua file with the correct version tagged each time, and so I'd like to be able to run the correct löve executable automatically when launching these projects from the command line. Similar to how nvm works for node.js
Right now I've just made myself a love-apps folder that contains all of the love.app versions I've used so far, and I make symbolic links in my local ~/bin folder so I can use whichever I like (love090 ./src if I want to run löve 0.9.0, for instance)
So main question is: is there a tool similar to nvm that will auto-run the correct löve version depending on the conf.lua file?
And if not: How do you manage your löve versions and projects if like me you have projects across a broad range of versions?