DEV Community

Cover image for Did you know .distfile?
Francesco Bianco
Francesco Bianco

Posted on

3 1

Did you know .distfile?

I love dotfiles, my dream is to create a popular dotfile as the great .gitignore. This mission motivated me to create the DIST(dot)SH project https://github.com/javanile/dist.sh. This is a tool for creating software bundles (ZIP files so to speak) based on a manifest called '.distfile'.
As for the popular '.gitignore' the '.distfile' as a convenient syntax for bundle complex package with custom file structure and ignoring specific files.

## File: .distfile
@mybundle-dev.zip
+src
+test
!*.secret

@mybundle-prod.zip 
+src
!*.secret
!*.custom.py
Enter fullscreen mode Exit fullscreen mode

Support me with STAR or FORK or better still a Pull-Request

Please be patient for the spammy content but I'm sure you love it for time saving on your next project.

Top comments (1)

Collapse
 
hiweus profile image
Andre AL

I didnt know about this tool, this is very great thx for sharing, i will use on my personal computer i have some ideas to use.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay