Mercurial > repos > public > matlab_path_manager
annotate +mpm/checkin.m @ 30:d9f899b1dfd0
Add status command and make subpathIsActive a static method
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 18 Sep 2018 14:15:23 +0200 |
parents | 02c290e2018c |
children | 01e81c77bca1 |
rev | line source |
---|---|
21
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
1 % Checkin a projects subpaths to the matlab path |
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
2 function checkin(projectFolder) |
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
3 if ~exist('projectFolder', 'var') || isempty(projectFolder) |
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
4 projectFolder = pwd; |
0 | 5 end |
6 | |
21
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
7 m = mpm.MatlabPathManager(); |
02c290e2018c
Refactor ui functions to use the MPM class. Not tested
Jonatan Werpers <jonatan@werpers.com>
parents:
7
diff
changeset
|
8 m.checkin(projectFolder); |
0 | 9 end |