Skip to content

Commit

Permalink
fix: update yq command in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Jul 8, 2024
1 parent 099e4c7 commit 7667271
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build gatewayd
FROM fedimint/gatewayd:v0.3.0 AS gatewayd
FROM fedimint/gatewayd:v0.3.1 AS gatewayd

# Set environment variables for gatewayd
ENV FM_GATEWAY_DATA_DIR=/gateway_data
Expand Down
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_ID := $(shell yq e ".id" manifest.yaml)
PKG_VERSION := $(shell yq e ".version" manifest.yaml)
PKG_ID := $(shell yq -r '.id' manifest.yaml)
PKG_VERSION := $(shell yq -r '.version' manifest.yaml)
TS_FILES := $(shell find ./ -name \*.ts)
ASSET_PATHS := $(shell find ./assets/compat/*)

Expand All @@ -8,6 +8,12 @@ ASSET_PATHS := $(shell find ./assets/compat/*)

all: verify

debug-id:
@echo "ID:" $(shell yq e '.id' manifest.yaml)

debug-version:
@echo "Version:" $(shell yq e '.version' manifest.yaml)

verify: $(PKG_ID).s9pk
@start-sdk verify s9pk $(PKG_ID).s9pk
@echo " Done!"
Expand Down
7 changes: 3 additions & 4 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Example written in yaml (toml and json are also acceptable)

# The package identifier used by the OS. This must be unique amongst all other known packages
id:
fedimint-gateway
# A human readable service title
id: fedimint-gateway
# A human readable service title
title: "Gateway"
# Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service.
version: 0.3.1
# Release notes for the update - can be a string, paragraph or URL
release-notes: {}
release-notes: "Initial release for Fedimint Gateway"
# The type of license for the project. Include the LICENSE in the root of the project directory. A license is required for a Start9 package.
license: MIT
# The repository URL for the package. This repo contains the manifest file (this), any scripts necessary for configuration, backups, actions, or health checks (more below). This key must exist. But could be embedded into the source repository.
Expand Down

0 comments on commit 7667271

Please sign in to comment.