Skip to content

Commit

Permalink
Copy CITATION and license file for mltbx instead
Browse files Browse the repository at this point in the history
  • Loading branch information
mducle committed Sep 3, 2024
1 parent 5ada0a6 commit 30e03e5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 703 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ unresolvedSymbols.txt

coverage*xml
junit*xml
coverageReport
coverage.html

mltbx/mltbx/CITATION.cff
mltbx/mltbx/license.txt
mltbx/spinw.mltbx

*.mexa64
*.mexmaci64
*.mexw64
11 changes: 10 additions & 1 deletion mltbx/create_mltbx.m
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
matlab.addons.toolbox.packageToolbox("spinw.prj", "spinw.mltbx");
currdir = fileparts(mfilename('fullpath'));
rmdir(fullfile(currdir, 'mltbx'), 's');
mkdir(fullfile(currdir, 'mltbx'));
copyfile(fullfile(currdir, '..', 'CITATION.cff'), fullfile(currdir, 'mltbx'));
copyfile(fullfile(currdir, '..', 'license.txt'), fullfile(currdir, 'mltbx'));
copyfile(fullfile(currdir, '..', 'swfiles'), fullfile(currdir, 'mltbx', 'swfiles'));
copyfile(fullfile(currdir, '..', 'external'), fullfile(currdir, 'mltbx', 'external'));
copyfile(fullfile(currdir, '..', 'dat_files'), fullfile(currdir, 'mltbx', 'dat_files'));
copyfile(fullfile(currdir, 'spinw_on.m'), fullfile(currdir, 'mltbx'));
matlab.addons.toolbox.packageToolbox("spinw.prj", "spinw.mltbx");
28 changes: 0 additions & 28 deletions mltbx/mltbx/CITATION.cff

This file was deleted.

Loading

0 comments on commit 30e03e5

Please sign in to comment.