build.classify('**~', None)
build.classify('**.bak', None)
build.classify('**.psd', None)
build.classify('**/.**', None)
build.classify('**/#**', None)
build.classify('**/thumbs.db', None)
## Files matching documentation patterns are duplicated in a mac app
## build, so they appear in both the app and the zip file.
build.documentation('*.html')
build.documentation('*.txt')
# Declare three archives.
build.archive("scripts", "all")
build.archive("images", "all")
build.archive("sounds", "all")
# Put script files into the scripts archive.
build.classify("game/**.ttf", "scripts")
build.classify("game/**.rpy", "scripts")
build.classify("game/**.rpyc", "scripts")
# Put images into the images archive.
build.classify("game/**.jpg", "images")
build.classify("game/**.png", "images")
build.classify("game/**.avi", "images")
build.classify("game/**.webp", "images")
build.classify("game/**.webm", "images")
# Put sounds into the sounds archive.
build.classify("game/**.ogg", "sounds")
build.classify("game/**.wav", "sounds")
build.classify("game/**.mp3", "sounds")