Skip to content

Add SPM executable product#10

Merged
sindresorhus merged 4 commits intosindresorhus:masterfrom
heilerich:master
Jan 6, 2021
Merged

Add SPM executable product#10
sindresorhus merged 4 commits intosindresorhus:masterfrom
heilerich:master

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