dist directory

The conventional folder, short for distribution, where a build puts the finished files that will be shipped.

In more detail

Build scripts typically clear it first so a stale file from an earlier build cannot sneak into the package. Its contents are what gets archived, uploaded or published.

Examples

rm -rf dist && mkdir -p dist && cp app/main.py dist/main.py
rm -rf dist && mkdir -p dist

Related terms

Taught in

References

Certification courses