Skip to content

Commit c1b9237

Browse files
authored
Use plain-text Live Scripts everywhere and the Build Tool everywhere (#39)
1 parent aba59f4 commit c1b9237

File tree

6,120 files changed

+159819
-142756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,120 files changed

+159819
-142756
lines changed
-5.16 MB
Binary file not shown.
-5.27 MB
Binary file not shown.
-7.03 MB
Binary file not shown.

.gitattributes

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
# Git Attributes File
2-
# Use this as .gitattributes file.
3-
#
4-
# Copyright 2020 The MathWorks, Inc.
5-
6-
*.jpg -crlf -diff -merge
7-
*.png -crlf -diff -merge
8-
9-
*.pdf -crlf -diff -merge
10-
11-
*.docx -crlf -diff -merge
12-
*.pptx -crlf -diff -merge
13-
*.xlsx -crlf -diff -merge
14-
15-
# === For use with MathWorks tools ===
16-
# For details, see the MATLAB Documentation "Set Up Git Source Control".
17-
18-
# Tip*
19-
#
20-
# You can reduce your Git repository size by saving Simulink models in SLX
21-
# format **without** compression. Turning off compression results in larger SLX
22-
# files on disk but reduces repository size.
23-
#
24-
# To turn off SLX compression, open your Simulink SLX file. In the Toolstrip,
25-
# select Modeling tab. In the Design section, select Property Inspector. In the
26-
# Property Inspector, select Properties tab. In the General group, at SLX
27-
# Compression, select "None".
28-
#
29-
# (*based on the Simulink Documentation "Manage Model Versions and Specify Model
30-
# Properties")
31-
32-
# MATLAB binary files
33-
*.fig -crlf -diff -merge
34-
*.mat -crlf -diff -merge
35-
*.mdl -crlf -diff -merge
36-
*.mdlp -crlf -diff -merge
37-
*.mexa64 -crlf -diff -merge
38-
*.mexmaci64 -crlf -diff -merge
39-
*.mexw64 -crlf -diff -merge
40-
*.mlapp -crlf -diff -merge
41-
*.mldatx -crlf -diff -merge
42-
*.mlproj -crlf -diff -merge
43-
*.mlx -crlf -diff -merge
44-
*.p -crlf -diff -merge
45-
*.sfx -crlf -diff -merge
46-
*.sldd -crlf -diff -merge
47-
*.slreqx -crlf -diff -merge
48-
*.sltx -crlf -diff -merge
49-
*.slx -crlf -diff -merge
50-
*.slxc -crlf -diff -merge
51-
*.slxp -crlf -diff -merge
1+
# Git Attributes File
2+
# Use this as .gitattributes file.
3+
#
4+
# Copyright 2020 The MathWorks, Inc.
5+
6+
*.jpg -crlf -diff -merge
7+
*.png -crlf -diff -merge
8+
9+
*.pdf -crlf -diff -merge
10+
11+
*.docx -crlf -diff -merge
12+
*.pptx -crlf -diff -merge
13+
*.xlsx -crlf -diff -merge
14+
15+
# === For use with MathWorks tools ===
16+
# For details, see the MATLAB Documentation "Set Up Git Source Control".
17+
18+
# Tip*
19+
#
20+
# You can reduce your Git repository size by saving Simulink models in SLX
21+
# format **without** compression. Turning off compression results in larger SLX
22+
# files on disk but reduces repository size.
23+
#
24+
# To turn off SLX compression, open your Simulink SLX file. In the Toolstrip,
25+
# select Modeling tab. In the Design section, select Property Inspector. In the
26+
# Property Inspector, select Properties tab. In the General group, at SLX
27+
# Compression, select "None".
28+
#
29+
# (*based on the Simulink Documentation "Manage Model Versions and Specify Model
30+
# Properties")
31+
32+
# MATLAB binary files
33+
*.fig -crlf -diff -merge
34+
*.mat -crlf -diff -merge
35+
*.mdl -crlf -diff -merge
36+
*.mdlp -crlf -diff -merge
37+
*.mexa64 -crlf -diff -merge
38+
*.mexmaci64 -crlf -diff -merge
39+
*.mexw64 -crlf -diff -merge
40+
*.mlapp -crlf -diff -merge
41+
*.mldatx -crlf -diff -merge
42+
*.mlproj -crlf -diff -merge
43+
*.mlx -crlf -diff -merge
44+
*.p -crlf -diff -merge
45+
*.sfx -crlf -diff -merge
46+
*.sldd -crlf -diff -merge
47+
*.slreqx -crlf -diff -merge
48+
*.sltx -crlf -diff -merge
49+
*.slx -crlf -diff -merge
50+
*.slxc -crlf -diff -merge
51+
*.slxp -crlf -diff -merge

.github/workflows/ci-linux.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name: CI using MATLAB on Linux
1515

1616
on:
1717
push:
18-
branches: [ R2025a ]
18+
branches: [ R2025a, R2025a-devel ]
1919
paths-ignore:
2020
- 'docs/**'
2121
- '**.md'
@@ -25,7 +25,7 @@ on:
2525
- '**.xml'
2626

2727
pull_request:
28-
branches: [ R2025a ]
28+
branches: [ R2025a, R2025a-devel ]
2929
paths-ignore:
3030
- 'docs/**'
3131
- '**.md'
@@ -92,32 +92,32 @@ jobs:
9292
uses: github/codeql-action/upload-sarif@v3
9393
if: always()
9494
with:
95-
sarif_file: cache/buildtool-results/code-issues.sarif
95+
sarif_file: test-result/code-issues.sarif
9696
category: matlab-analysis
9797

9898
- name: Publish Test Report
9999
uses: mikepenz/action-junit-report@v4
100100
if: always()
101101
with:
102-
report_paths: 'cache/buildtool-results/test-results.xml'
102+
report_paths: 'test-result/test-results.xml'
103103

104104
- name: Upload Test Report
105105
if: always()
106106
uses: actions/upload-artifact@v4
107107
with:
108108
name: Test Results
109-
path: cache/buildtool-results/test-results.pdf
109+
path: test-result/test-results.pdf
110110

111111
- name: Upload All Artifacts
112112
if: always()
113113
uses: actions/upload-artifact@v4
114114
with:
115115
name: All Artifacts
116-
path: cache/buildtool-results
116+
path: test-result
117117

118118
- name: Publish coverage
119119
uses: 5monkeys/cobertura-action@master
120120
continue-on-error: true
121121
with:
122-
path: cache/buildtool-results/code-coverage.xml
122+
path: test-result/code-coverage.xml
123123
minimum_coverage: 75

.github/workflows/ci-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name: CI using MATLAB on Windows
1515

1616
on:
1717
push:
18-
branches: [ R2025a ]
18+
branches: [ R2025a, R2025a-devel ]
1919
paths-ignore:
2020
- 'docs/**'
2121
- '**.md'
@@ -25,7 +25,7 @@ on:
2525
- '**.xml'
2626

2727
pull_request:
28-
branches: [ R2025a ]
28+
branches: [ R2025a, R2025a-devel ]
2929
paths-ignore:
3030
- 'docs/**'
3131
- '**.md'

.gitignore

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
1-
# .gitignore
2-
#
3-
# Copyright 2020 The MathWorks, Inc.
4-
5-
stash/
6-
7-
*.pdf
8-
*.pptx
9-
10-
*.asv
11-
*.mldatx
12-
*.slxc
13-
14-
sfprj/
15-
slprj/
16-
17-
coverageR2022a/
1+
# .gitignore
2+
#
3+
# Copyright 2020-2025 The MathWorks, Inc.
4+
5+
*.js
6+
7+
*.pdf
8+
*.pptx
9+
10+
*.asv
11+
*.mldatx
12+
*.slxc
13+
14+
sfprj/
15+
slprj/
16+
17+
# The Build Tool creates the .buildtool folder, which git must ignore.
18+
# See the documentation about Cache Folder in MATLAB Incremental Builds.
19+
# https://www.mathworks.com/help/matlab/matlab_prog/improve-performance-with-incremental-builds.html#mw_55e5581e-57fd-4abb-9b38-a3de482e713f
20+
.buildtool/
21+
22+
# The Buildfile.m files in this project are configured to save results in the test-result folder, which git must ignore.
23+
test-result/
24+
25+
screenshot-test-*.png
26+
screenshot-untitled.png
27+
untitled.m
28+
untitled.mdl
29+
untitled.mlx
30+
untitled.slx

0 commit comments

Comments
 (0)