-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: arduino-langauge-server (#2774)
* package arduino-cli * package arduino-lint * remove old files * package rpi-update * remove old files * exclusive arch in hcl * package arduino-language-server * remove old files * No debug package Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> (cherry picked from commit 6890a3d) Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "arduino-language-server.spec" | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
anda/tools/arduino-language-server/arduino-language-server.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
%define debug_package %nil | ||
|
||
Name: arduino-language-server | ||
Version: 0.7.6 | ||
Release: 1%?dist | ||
Summary: Arduino command line tool. | ||
License: AGPLv3 | ||
Packager: Owen Zimmerman <owen@fyralabs.com> | ||
Url: https://github.com/arduino/arduino-language-server | ||
Source0: %url/archive/refs/tags/%version.tar.gz | ||
BuildRequires: golang git go-rpm-macros anda-srpm-macros clang arduino-cli | ||
|
||
%description | ||
%summary | ||
|
||
%prep | ||
%autosetup -n arduino-language-server-%version | ||
|
||
%build | ||
mkdir -p bin | ||
%go_build_online | ||
|
||
%install | ||
mkdir -p %{buildroot}%{_bindir} | ||
install -Dm 755 build/bin/arduino-language-server %buildroot%{_bindir}/arduino-language-server | ||
|
||
%files | ||
%license LICENSE.txt | ||
%doc README.md | ||
%{_bindir}/arduino-language-server | ||
|
||
%changelog | ||
* Fri Dec 27 2024 Owen Zimmerman <owen@fyralabs.com> | ||
- Package arduino-language-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("arduino/arduino-language-server")); |