Clean

From Liberty Eiffel Wiki
Revision as of 11:53, 17 December 2023 by Tybor (talk | contribs)
Jump to navigation Jump to search


Usage

se clean [options] <Root-Name> ... 

Command clean removes all intermediate files produced by previous compile, or compile_to_c runs. Names (<Root-Name> ...) can have the Eiffel suffix, no suffix at all, or the suffix used for Liberty Eiffel command files on your system (.make on UNIX or .BAT on Windows for example).

Options

 -help:

Display a brief summary of the command-line syntax and a complete list of finder options.

-no_remove:

Print the name of files that would be removed, but do not remove them.e.

-verbose:

Print system information during the compilation (full path of loaded files, type inference score, removed files, etc.).

-version:

Show the number of the version of LibertyEiffel you're using.

Examples

Example 1

To remove intermediate files produced for the HELLO_WORLD program. Type: clean hello_world You can also type: clean hello_world.e or you can also type: clean HELLO_WORLD on Unix, you can type: clean hello_world.make on Windows, you can do: clean hello_world.BAT

Example 2

Under Unix or Windows, remove all intermediates files in the current directory : clean *.e

If the root class file is not in the current directory, you can type (for Unix) : clean *.make

Option -verbose can be used to see which files are removed.