-
Notifications
You must be signed in to change notification settings - Fork 2
Using Lover
Lover is a command-line interface, which means it doesn't have a graphical interface and requires you to use the terminal.
Commands that will only work inside a Lover project.
You need to run your terminal (or enter the directory with cd) in your project's directory.
See setting up a project.
lover run
You can also pass arguments for your game if it uses them.
lover run idk --do-stuff
lover build [targets...]
For example:
lover build love
lover build linux win64 win32
See the target command.
Removes files generated by build.
lover clean
Checks all of your lua scripts for errors.
Performed automatically on each run and build.
lover parse
Commands that work outside of projects.
Initializes a new project.
lover new <project name>
Example
lover new MyCoolGame
Shows info or lists build targets.
lover target [target]
Example
lover target
lover target win64
Lists or shows usage of a command.
lover help [command]
Example
lover help
lover help build
Checks the current installed Lover version.
lover version
Installs a dependency.
lover install <dependencies...>
Example
lover install love-linux love-win64
Removes installed dependencies
lover uninstall <dependencies...>
Example
lover uninstall love-win32
Shows info or lists downloadable dependencies.
lover dep [dependency]
Example
lover dep
lover dep love-linux
Gets remote details of a dependency (such as the repo, download link etc.). It's made for testing Lover so you're probably not going to need it.
lover fetch <dependency>
Example
lover fetch love-linux