BrettMayson / HEMTT

Build System for Arma 3
http://hemtt.dev/
GNU General Public License v2.0
113 stars 40 forks source link

Feature Request - Directory-related call access within rhai scripts #519

Closed k-e-l-p closed 1 year ago

k-e-l-p commented 1 year ago

I'm trying to write a rhai script that would copy a folder of files into a specific space into the .hemttout/build folder, in a post-build hook, within the VFS. The passed functions from rust into rhai within the vfs path module don't seem to have read_dir and/or open_dir included.

BrettMayson commented 1 year ago

You can copy a directory currently, I will look into an iterator over files in a future version.

BrettMayson commented 1 year ago

Duplicate of https://github.com/BrettMayson/HEMTT/discussions/589