DEV Community

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

Posted on

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.