Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: arduino-lint #2580

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions anda/tools/arduino-lint/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "arduino-lint.spec"
}
}
33 changes: 33 additions & 0 deletions anda/tools/arduino-lint/arduino-lint.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
%define debug_package %nil

Name: arduino-lint
Version: 1.2.1
Release: 1%?dist
Summary: Tool to check for problems with Arduino projects.
License: GPLv3
Packager: Owen Zimmerman <[email protected]>
Url: https://github.com/arduino/arduino-lint
Source0: %url/archive/refs/tags/%version.tar.gz
BuildRequires: golang git go-rpm-macros anda-srpm-macros

%description
%summary

%prep
%autosetup -n arduino-lint-%version

%build
go build

%install
mkdir -p %{buildroot}%{_bindir}
install -Dm 755 arduino-lint %buildroot%{_bindir}/arduino-lint

%files
%license LICENSE.txt
%doc README.md
%{_bindir}/arduino-lint

%changelog
* Thu Dec 5 2024 Owen Zimmerman <[email protected]>
- Package arduino-lint
1 change: 1 addition & 0 deletions anda/tools/arduino-lint/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("arduino/arduino-lint"));
Loading