Difference between revisions of "Clean"

From Liberty Eiffel Wiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
se clean [options] <Root-Name> ...
 
se clean [options] <Root-Name> ...
 
Command clean removes all intermediate files produced by previous compile, or compile_to_c runs.
 
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).
+
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 =
 
= Options =
Line 21: Line 21:
 
-version:
 
-version:
   
Show the number of the version of LibertyEiffel you're using.
+
Show the number of the version of Liberty Eiffel you're using.
   
 
= Examples =
 
= Examples =

Latest revision as of 16:39, 30 July 2024


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 Liberty Eiffel 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.