Skip to content

Commit

Permalink
edit Makefile and meta
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaney committed Apr 10, 2024
1 parent 3a75a11 commit a675449
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ ocean-prefilter: main.go
go build -o ocean-prefilter main.go

TAG_VERSION?=latest
appimage: export TAG_NAME = ${TAG_VERSION}
appimage: ocean-prefilter
ocean-prefilter-appimage: export TAG_NAME = ${TAG_VERSION}
ocean-prefilter-appimage: ocean-prefilter
cd packaging/appimages && \
mkdir -p deploy && \
rm -f deploy/ocean-prefilter* && \
appimage-builder --recipe ocean-prefilter-aarch64.yml
cp ./packaging/appimages/ocean-prefilter-*-aarch64.AppImage ./packaging/appimages/deploy/
cp ./packaging/appimages/deploy/ocean-prefilter-${TAG_VERSION}-aarch64.AppImage ocean-prefilter-appimage
chmod a+x ocean-prefilter-appimage

module: ocean-prefilter-appimage
tar czf module.tar.gz ocean-prefilter-appimage

clean:
rm -rf ocean-prefilter ocean-prefilter-appimage packaging/appimages/deploy/ocean-prefilter*
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"model": "viam-labs:vision:ocean-prefilter"
}
],
"entrypoint": "ocean-prefilter"
"entrypoint": "ocean-prefilter-appimage"
}

0 comments on commit a675449

Please sign in to comment.