diff options
author | Harpreet | 2016-02-05 10:57:46 +0530 |
---|---|---|
committer | Harpreet | 2016-02-05 10:57:46 +0530 |
commit | 7996c2704975d61e03cfb4204cfb8e202367a448 (patch) | |
tree | ec7bc84483e529e58daa2aa54bfb22316c7a4749 | |
parent | 29845c2fff5d9aa7fd6655ccba6a5c98a5b9fc0e (diff) | |
download | FOSSEE-Optimization-toolbox-7996c2704975d61e03cfb4204cfb8e202367a448.tar.gz FOSSEE-Optimization-toolbox-7996c2704975d61e03cfb4204cfb8e202367a448.tar.bz2 FOSSEE-Optimization-toolbox-7996c2704975d61e03cfb4204cfb8e202367a448.zip |
cleaner.sce deleted
-rw-r--r-- | cleaner.sce | 38 | ||||
-rw-r--r-- | help/cleaner_help.sce | 21 | ||||
-rw-r--r-- | macros/cleanmacros.sce | 20 | ||||
-rw-r--r-- | sci_gateway/cpp/cleaner.sce | 22 |
4 files changed, 0 insertions, 101 deletions
diff --git a/cleaner.sce b/cleaner.sce deleted file mode 100644 index 370c68f..0000000 --- a/cleaner.sce +++ /dev/null @@ -1,38 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce: Please, do not edit this file - -try - getversion("scilab"); -catch - error("Scilab 5.0 or more is required."); -end -function perform_clean() - root_tlbx = get_absolute_file_path('cleaner.sce'); - - if isfile(root_tlbx + '/macros/cleanmacros.sce') then - exec(root_tlbx+'/macros/cleanmacros.sce'); - end - - if isfile(root_tlbx + '/src/cleaner_src.sce') then - exec(root_tlbx+'/src/cleaner_src.sce'); - end - - if isfile(root_tlbx + "/sci_gateway/cleaner_gateway.sce") then - exec(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); - mdelete(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); - end - - if isfile(root_tlbx + "/help/cleaner_help.sce") then - exec(root_tlbx + "/help/cleaner_help.sce"); - end - - if isfile(root_tlbx + "/loader.sce") then - mdelete(root_tlbx + "/loader.sce"); - end - - if isfile(root_tlbx + "/unloader.sce") then - mdelete(root_tlbx + "/unloader.sce"); - end -endfunction -perform_clean(); -clear perform_clean; diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce deleted file mode 100644 index a2b5e7e..0000000 --- a/help/cleaner_help.sce +++ /dev/null @@ -1,21 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. - -function cleaner_help() - path = get_absolute_file_path("cleaner_help.sce"); - langdirs = dir(path); - langdirs = langdirs.name(langdirs.isdir); - - for l = 1:size(langdirs, "*") - masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml"); - mdelete(masterfile); - - jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar"); - mdelete(jarfile); - - tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help"); - rmdir(tmphtmldir, "s"); - end -endfunction - -cleaner_help(); -clear cleaner_help; diff --git a/macros/cleanmacros.sce b/macros/cleanmacros.sce deleted file mode 100644 index a6428b2..0000000 --- a/macros/cleanmacros.sce +++ /dev/null @@ -1,20 +0,0 @@ -// ==================================================================== -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// ==================================================================== -function cleanmacros() - - libpath = get_absolute_file_path("cleanmacros.sce"); - - binfiles = ls(libpath+"/*.bin"); - for i = 1:size(binfiles,"*") - mdelete(binfiles(i)); - end - - mdelete(libpath+"/names"); - mdelete(libpath+"/lib"); -endfunction - -cleanmacros(); -clear cleanmacros; // remove cleanmacros on stack - -// ==================================================================== diff --git a/sci_gateway/cpp/cleaner.sce b/sci_gateway/cpp/cleaner.sce deleted file mode 100644 index 333775c..0000000 --- a/sci_gateway/cpp/cleaner.sce +++ /dev/null @@ -1,22 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce : Please, do not edit this file -// cleaner.sce -// ------------------------------------------------------ -curdir = pwd(); -cleaner_path = get_file_path('cleaner.sce'); -chdir(cleaner_path); -// ------------------------------------------------------ -if fileinfo('loader.sce') <> [] then - mdelete('loader.sce'); -end -// ------------------------------------------------------ -if fileinfo('libFOSSEE_Optimization_Toolbox.so') <> [] then - mdelete('libFOSSEE_Optimization_Toolbox.so'); -end -// ------------------------------------------------------ -if fileinfo('libFOSSEE_Optimization_Toolbox.c') <> [] then - mdelete('libFOSSEE_Optimization_Toolbox.c'); -end -// ------------------------------------------------------ -chdir(curdir); -// ------------------------------------------------------ |