Skip to content

Commit

Permalink
Fix deployment integration
Browse files Browse the repository at this point in the history
The spinW base can now be pulled directly into the standalone_dev branch. 
- Remove dev files from the repo .
- Change the version to account for deployed.

Former-commit-id: 7f3cbea
  • Loading branch information
wardsimon committed Oct 31, 2018
1 parent d6a61b0 commit 18b9f3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ _pdf
*.tap

*.asv

dev/standalone/Linux/Source/
dev/standalone/Win/Source/
dev/standalone/MacOS/Source/
7 changes: 6 additions & 1 deletion swfiles/sw_version.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
% release date and license.
%

% Take into account deployed installs
if isdeployed
outStr = struct;
return
end

% read file header from sw_version.m file
fid = fopen('sw_version.m');

Expand Down Expand Up @@ -48,7 +54,6 @@
[~, verSel] = strtok(verSel,'$'); %#ok<*STTOK>
[partStr{end+1}, verSel] = strtok(verSel,'$');
end

end

nField = numel(partStr);
Expand Down

0 comments on commit 18b9f3b

Please sign in to comment.