Changeset eaa41f7 in tol


Ignore:
Timestamp:
Dec 11, 2009, 9:45:53 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
b83f1d6
Parents:
db53538
Message:

Separating local install from remote upload

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1794 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol_pkg
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • tol_pkg/_uploader.tol

    rdb53538 reaa41f7  
    55//////////////////////////////////////////////////////////////////////////////
    66
     7Set Include("_install_tools.tol");
     8
    79//Text compress = "\"c:\Archivos de programa\7-Zip\7z.exe\" a -r -tzip ";
    810Text compress = " ";
    … …  
    1012Text local = ".";
    1113Text export = tolpkg+"export";
    12 Text version = Replace(Tokenizer(Version," ")[1],".","_");
    1314Text upload = tolpkg+"tol_pkg/"+version;
    14 Text tolpkg_install = Replace(TolAppDataPath+
    15   "OIS/Require/tol_pkg/"+version+"/","\\","/");
    1615
    17 Real OSDirRemove(tolpkg_install);
    18 Real OSDirMake(tolpkg_install);
    1916Real OSDirRemove(tolpkg);
    2017Real OSDirMake(tolpkg);
    2118Real OSDirMake(upload);
    2219
    23 Real OSCmdWaitWr(Text order)
    24 {
    25   WriteLn(order);
    26   Real OSCmdWait(order)
    27 };
    28 
    2920Real OSCmdWaitWr("svn export --force "
    3021  "https://www.tol-project.org/svn/tolp/trunk/tol_pkg \""+export+"\"");
    31 
    32 
    33 Set packages =
    34 [[
    35   "HashMap",
    36   "MatQuery",
    37   "MatEncode",
    38   "MulVarFunAprox",
    39   "MhCnstrLinRegArima",
    40   "GraphTools",
    41   "GisTools"
    42 ]];
    43 /*
    44 {
    45   Set aux = Select(GetDir(export)[2], Real(Text subDir)
    46   {
    47     Real fst = ASCII(Sub(subDir,1,1));
    48     If(!LE(ASCII("A"),fst,ASCII("Z")),False,
    49     {
    50       FileExist(subDir+"/"+subDir+".tol")
    51     })
    52   });
    53   Sort(aux,Real(Text a, Text b) { Compare(a,b) })
    54 };
    55 */
    56  
     22 
    5723Text SetOfTextToWikiList(Set set, Text margin, Text quote)
    5824{
    … …  
    9460");
    9561  Real Ois.Store(aux[1],upl+".oza");
    96   Real OSCmdWaitWr("cp "+upl+".oza \""+ReplaceSlash(tolpkg_install)+"\"");
     62  Real OSCmdWaitWr("cp \""+upl+".oza\" \""+ReplaceSlash(tolpkg_install)+"\"");
    9763  Real OSCmdWaitWr("\""+tolpkg+"compress.bat\" "+name)
    9864});
    9965
    10066Real FClose(wiki);
     67
    10168
    10269Text remoteUser =
Note: See TracChangeset for help on using the changeset viewer.