Skip to content

Commit

Permalink
fix the issue of not including submodules when releasing a package on…
Browse files Browse the repository at this point in the history
… github
  • Loading branch information
zhoupc committed Oct 10, 2018
1 parent cc70883 commit f863c24
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions cnmfe_setup.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,21 @@
cnmfe_loaded = true;
end

%% install deconvolution package
run(fullfile(cnmfe_folder, 'OASIS_matlab', 'oasis_setup.m'));

%% install deconvolution package
oasis_folder = fullfile(cnmfe_folder, 'OASIS_matlab');
if exist(fullfile(oasis_folder, 'oasis_setup.m'), 'file')
run(fullfile(cnmfe_folder, 'OASIS_matlab', 'oasis_setup.m'));
else
oasis_url = 'https://github.com/zhoupc/OASIS_matlab/archive/master.zip';
fprintf('downloading OASIS_matlab....\n');
unzip(oasis_url, cnmfe_folder);
if exist(oasis_folder, 'dir')
rmdir(oasis_folder, 's');
end
movefile(fullfile(cnmfe_folder, 'OASIS_matlab-master'), ...
oasis_folder);
fprintf('done!\n');
end
%% install convex optimization solvers
% by default, we don't install cvx any more. if you want to install cvx,
% then set install_cvx = true and then run oasis-setup.m
Expand Down
4 changes: 2 additions & 2 deletions versions.log
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 1.1.0
git commit: acdd20b5cecbc8be85f7684aa8e11176d10a3aa2
git commit: cc70883814b1dd428ba51b547a8eb2834a01e222

10/09/2018
Version 1.1.0
git commit: acdd20b5cecbc8be85f7684aa8e11176d10a3aa2
git commit: cc70883814b1dd428ba51b547a8eb2834a01e222
Note: all updates since the first releast.

01/15/2018
Expand Down

0 comments on commit f863c24

Please # to comment.