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

Add SPM executable product #10

Merged
merged 4 commits into from
Jan 6, 2021
Merged

Conversation

heilerich
Copy link
Contributor

Adding an executable product to Package.swift allows running via swift run and more importantly easy installation from source via tools like mint with just
mint install sindresorhus/macos-trash

Some people might prefer installation from source rather than downloading a binary, especially while homebrew does not yet support Silicon :)

@sindresorhus
Copy link
Owner

You need to fix the incorrect indentation.

It would be great if you could also add Mint install instructions to the readme.

@heilerich
Copy link
Contributor Author

Done.

Thanks for reminding me to update my editor to display tab characters 😋
I hadn't noticed those were gone on my new machine.

@sindresorhus sindresorhus merged commit 984577f into sindresorhus:master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants