Skip to content

Commit

Permalink
Add some packaging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
apjanke committed Jan 22, 2020
1 parent b8c2301 commit 3a32a8c
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions M-doc/Changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ <h2 id="011-">0.1.1 (???)</h2>

<ul>
<li>Package Janklab as a Matlab Toolbox</li>
<li>Some Excel API bug fixes</li>
</ul>

<h2 id="010-2020-01-22">0.1.0 (2020-01-22)</h2>
Expand Down
1 change: 1 addition & 0 deletions M-doc/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Janklab Changelog
------------------

* Package Janklab as a Matlab Toolbox
* Some Excel API bug fixes

0.1.0 (2020-01-22)
------------------
Expand Down
2 changes: 1 addition & 1 deletion M-doc/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.0.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-01-22T12:09:46-05:00</updated><id>/feed.xml</id><title type="html">Janklab</title><subtitle>Documentation for the Janklab Matlab Toolbox</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.0.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2020-01-22T12:17:41-05:00</updated><id>/feed.xml</id><title type="html">Janklab</title><subtitle>Documentation for the Janklab Matlab Toolbox</subtitle></feed>
1 change: 1 addition & 0 deletions doc/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Janklab Changelog
------------------

* Package Janklab as a Matlab Toolbox
* Some Excel API bug fixes

0.1.0 (2020-01-22)
------------------
Expand Down
6 changes: 6 additions & 0 deletions load_janklab.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function load_janklab

repoDir = fileparts(mfilename('fullpath'));
toplevelDir = [repoDir '/Mcode/toplevel'];
addpath(toplevelDir);
init_janklab;
19 changes: 19 additions & 0 deletions package_janklab.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!env bash
#
# package_janklab.sh - Package Janklab as a toolbox

uname=$(uname)

case "$uname" in
Darwin*)
MATLAB="/Applications/MATLAB_R2019b.app/bin/matlab"
;;
*)
MATLAB="matlab"
;;
esac

# TODO: Probably need to do something else here to get exit status
# to reflect success of the packaging.

"$MATLAB" -batch 'load_janklab; package_toolbox'

0 comments on commit 3a32a8c

Please sign in to comment.