An HTTP client for Scilab

An HTTP client for Scilab Git Source Tree

Root/builder.sce

1// Copyright (C) 2008 - INRIA
2// Copyright (C) 2009-2010 - DIGITEO
3
4// This file is released under the 3-clause BSD license. See COPYING-BSD.
5
6mode(-1);
7lines(0);
8
9TOOLBOX_NAME = "http";
10TOOLBOX_TITLE = "Scilab HTTP Toolbox";
11toolbox_dir = get_absolute_file_path("builder.sce");
12
13// Check Scilab's version
14// =============================================================================
15
16try
17 v = getversion("scilab");
18catch
19 error(gettext("Scilab 5.3 or more is required."));
20end
21
22if v(2) < 3 then
23 // new API in scilab 5.3
24 error(gettext('Scilab 5.3 or more is required.'));
25end
26clear v;
27
28// Check modules_manager module availability
29// =============================================================================
30
31if ~isdef('tbx_build_loader') then
32 error(msprintf(gettext('%s module not installed."), 'modules_manager'));
33end
34
35// Action
36// =============================================================================
37
38tbx_builder_macros(toolbox_dir);
39// tbx_builder_src(toolbox_dir);
40// tbx_builder_gateway(toolbox_dir);
41tbx_builder_help(toolbox_dir);
42tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
43tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);
44
45// Clean variables
46// =============================================================================
47
48clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE;
49

Archive Download this file

Branches