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

More package managers support #64

Open
saheljalal opened this issue Feb 25, 2023 · 2 comments
Open

More package managers support #64

saheljalal opened this issue Feb 25, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@saheljalal
Copy link
Collaborator

nostromo only has support for installing through brew or go install likely. But it would be nice to add support to other platforms and related package managers including:

Not sure about the popularity of various platforms or tools but some others include:

@saheljalal saheljalal added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 25, 2023
@pcP1r4t3
Copy link

Hello,
Could I start working on this?

@saheljalal
Copy link
Collaborator Author

saheljalal commented Feb 25, 2023

For this one I'll need to create any accounts and keys for the final delivery. So if anyone can supply the steps or configs required I can take it from the last mile.

Even though goreleaser is used in this project, it appears there's some manual step in release for some managers: https://taskfile.dev/releasing/

Ideally, I'd like to create a Makefile that can encapsulate an automated make release command or something that can trigger any commands necessary.

An example template to use:

.PHONY: all build release help

define success
	echo "\033[0;32m✔\033[0m $(1)"
endef

define failure
	echo "\033[0;31m✘\033[0m $(1)"
endef

all: build ## Standard make call should simply build

build: ## Builds the project
	@<insert build command>
		$(call success,Build completed) || $(call failure,Build completed)

release: build ## Builds all artifacts and releases to various package managers
	@<insert release command>
		$(call success,Release completed) || $(call failure,Release completed)
	
help: ## Print help documentation
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

.DEFAULT_GOAL := help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants