Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dseries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dseries
Commits
32b7b9d0
Commit
32b7b9d0
authored
7 years ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into ecb-master
parents
ef75302a
5bfe4699
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
externals/x13/installx13.m
+13
-4
13 additions, 4 deletions
externals/x13/installx13.m
externals/x13/uninstallx13.m
+7
-3
7 additions, 3 deletions
externals/x13/uninstallx13.m
externals/x13/updatex13.m
+25
-0
25 additions, 0 deletions
externals/x13/updatex13.m
with
45 additions
and
7 deletions
externals/x13/installx13.m
+
13
−
4
View file @
32b7b9d0
...
...
@@ -25,8 +25,17 @@ if ~exist('x13.zip','file')
urlwrite
(
'http://www.dynare.org/x13/x13.zip'
,
'x13.zip'
);
end
unzip
(
'x13.zip'
);
movefile
(
'binaries/linux'
,
'./linux'
);
movefile
(
'binaries/osx'
,
'./osx'
);
movefile
(
'binaries/windows'
,
'./windows'
);
rmdir
(
'binaries'
);
if
ismac
()
mkdir
osx
movefile
(
'binaries/osx/*'
,
'./osx'
);
elseif
isunix
()
mkdir
linux
movefile
(
'binaries/linux/*'
,
'./linux'
);
elseif
ispc
()
mkdir
windows
movefile
(
'binaries/windows/*'
,
'./windows'
);
else
error
(
'X13 is not available for the current platform!'
)
end
rmdir
(
'binaries'
,
's'
);
end
This diff is collapsed.
Click to expand it.
externals/x13/uninstallx13.m
+
7
−
3
View file @
32b7b9d0
function
uninstallx13
()
% Uninstalls CENSUS X13 binaries (Windows and Linux).
% Uninstalls CENSUS X13 binaries (Windows
, OSX
and Linux).
% Copyright (C) 2017 Dynare Team
%
...
...
@@ -23,9 +23,13 @@ if exist('x13.zip','file')
end
if
exist
(
'linux'
,
'dir'
)
rmdir
(
'linux'
)
rmdir
(
'linux'
,
's'
)
end
if
exist
(
'windows'
,
'dir'
)
rmdir
(
'windows'
)
rmdir
(
'windows'
,
's'
)
end
if
exist
(
'osx'
,
'dir'
)
rmdir
(
'osx'
,
's'
)
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
externals/x13/updatex13.m
0 → 100644
+
25
−
0
View file @
32b7b9d0
function
updatex13
()
% Uninstalls CENSUS X13 binaries (Windows, OSX and Linux).
% Copyright (C) 2017 Dynare Team
%
% This code is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% Dynare dseries submodule is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if
exist
(
'x13.zip'
,
'file'
)
delete
(
'x13.zip'
)
end
installx13
();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment