diffcode

diffcode Svn Source Tree

Root/cleaner.sce

Source at commit HEAD created 3 years 8 months ago.
By baudin, Shortened messages printed at startup. (These verbose messages make the startup confusing when dozens of modules are loaded.)
1// This file is released under the 3-clause BSD license. See COPYING-BSD.
2// Generated by builder.sce: Please, do not edit this file
3
4try
5 getversion("scilab");
6catch
7 error("Scilab 5.0 or more is required.");
8end
9function perform_clean()
10 root_tlbx = get_absolute_file_path('cleaner.sce');
11
12 if isfile(root_tlbx + '/macros/cleanmacros.sce') then
13 exec(root_tlbx+'/macros/cleanmacros.sce');
14 end
15
16 if isfile(root_tlbx + '/src/cleaner_src.sce') then
17 exec(root_tlbx+'/src/cleaner_src.sce');
18 end
19
20 if isfile(root_tlbx + "/sci_gateway/cleaner_gateway.sce") then
21 exec(root_tlbx + "/sci_gateway/cleaner_gateway.sce");
22 mdelete(root_tlbx + "/sci_gateway/cleaner_gateway.sce");
23 end
24
25 if isfile(root_tlbx + "/help/cleaner_help.sce") then
26 exec(root_tlbx + "/help/cleaner_help.sce");
27 end
28
29 if isfile(root_tlbx + "/loader.sce") then
30 mdelete(root_tlbx + "/loader.sce");
31 end
32
33 if isfile(root_tlbx + "/unloader.sce") then
34 mdelete(root_tlbx + "/unloader.sce");
35 end
36endfunction
37perform_clean();
38clear perform_clean;

Archive Download this file

Revision: HEAD