Skip to content

Commit 9b4f31f

Browse files
committed
Obey 1.0 / 1.5 library specification when finding C++ library source
1 parent 4f6eb2a commit 9b4f31f

File tree

28 files changed

+158
-55
lines changed

28 files changed

+158
-55
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
- Add `__AVR__` to defines when compiling
1111
- `arduino_ci_remote.rb` CLI switch `--skip-examples-compilation`
1212
- Add support for `diditalPinToPort()`, `digitalPinToBitMask()`, and `portOutputRegister()`
13+
- `CppLibrary.header_files` to find header files
1314

1415
### Changed
1516
- Move repository from https://github.com/ianfixes/arduino_ci to https://github.com/Arduino-CI/arduino_ci
1617
- Revise math macros to avoid name clashes
18+
- `CppLibrary` functions returning C++ header or code files now respect the 1.0/1.5 library specification
1719

1820
### Deprecated
1921
- `arduino_ci_remote.rb` CLI switch `--skip-compilation`

SampleProjects/OnePointFiveDummy/NoBase.cpp

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/NoBase.h

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This project resembles a "1.5 spec" library: it has `library.properties` and a `src/` directory that will be scanned recursively. `utility/`, if present, will be ignored.

SampleProjects/OnePointFiveDummy/library.properties

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/src/YesSrc.cpp

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/src/YesSrc.h

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/src/subdir/YesSubdir.cpp

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/src/subdir/YesSubdir.h

Whitespace-only changes.

SampleProjects/OnePointFiveDummy/utility/ImNotHere.cpp

Whitespace-only changes.

0 commit comments

Comments
 (0)