UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Could Brisk be a library package too?

Forums > Swift

Swift Packages vs Brisk

I am a Junior and I have spent the last two days reading the package documentation at swift.org and playing around with creating library packages and executable packages.

Now I got the idea, when I create an executable script with swift:

swift package init --type executable

would it not be nice, to be able to add in the Package.swift manifest the dependency to Brisk and write my script?

I know Brisk is doing that under the hood. When launched with,

brisk myscriptname

Brisk is creating an executable package for me to start writing my script and run or compile it. But would a library be nice too? Would that be a nice side project? Do we need a new repo for that?

On the other side, using Brisk instead of creating an axecutable package has the nice effect that oll my scripts are quasi bundled together in the Brisk directory..

I am just collecting feedback wanting to contribute to the Brisk project. Thanks 🙌

3      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.