-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename to jetson-exporter as package and jetson_exporter in go
- Loading branch information
Showing
9 changed files
with
24 additions
and
24 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
.PHONY: clean | ||
dist/jetsonexporter_0.0.1_arm64.deb: | ||
mkdir -p dist/jetsonexporter/DEBIAN | ||
mkdir -p dist/jetsonexporter/usr/bin | ||
mkdir -p dist/jetsonexporter/lib/systemd/system | ||
dist/jetson-exporter_0.0.1_arm64.deb: | ||
mkdir -p dist/jetson-exporter/DEBIAN | ||
mkdir -p dist/jetson-exporter/usr/bin | ||
mkdir -p dist/jetson-exporter/lib/systemd/system | ||
|
||
cp deploy/debian/* dist/jetsonexporter/DEBIAN/ | ||
cp deploy/jetsonexporter.service dist/jetsonexporter/lib/systemd/system | ||
GOARCH=arm64 go build -o dist/jetsonexporter/usr/bin/jetsonexporter cmd/jetsonexporter.go | ||
cp deploy/debian/* dist/jetson-exporter/DEBIAN/ | ||
cp deploy/jetson-exporter.service dist/jetson-exporter/lib/systemd/system | ||
GOARCH=arm64 go build -o dist/jetson-exporter/usr/bin/jetson-exporter cmd/jetson_exporter.go | ||
|
||
dpkg-deb --build dist/jetsonexporter dist/jetsonexporter_0.0.1_arm64.deb | ||
dpkg-deb --build dist/jetson-exporter dist/jetson-exporter.0.1_arm64.deb | ||
|
||
clean: | ||
rm -rf dist |
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Package: jetsonexporter | ||
Package: jetson-exporter | ||
Priority: optional | ||
Maintainer: GDWR <[email protected]> | ||
Version: 0.1.0 | ||
|
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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module jetsonexporter | ||
module jetson_exporter | ||
|
||
go 1.21 | ||
|
||
|