Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 905 Bytes

File metadata and controls

37 lines (26 loc) · 905 Bytes

Overview

In this tutorial, we will add a clean action.

How to use

To generate the project file, run it in the terminal as shown below.

$ cd "tutorial/clean_action"
$ premake5 gmake   # for GNU Make

It set the output directory to _gen in the premake5.lua file. So it generate a Makefile in the _gen directory.

Check if the file is output with the ls command.

$ ls _gen
Makefile                hello_world.make

Then check the behavior of the action clean that it added in the premake5.lua file.

$ premake5 clean
Running action 'clean'...
Delete the directory : _gen

Related official page