This copies the assets in the ‘shaders’ dir to an output ‘shaders’ assets subdir.
Any import asset path that contains ‘@/’ will copy the asset(s) to the left of ‘@/’ to the dest asset dir after ‘/@’, eg: “Import “myimage.png@/images” will import ‘myimage.png’ to ‘images’ subdir in assets. You can then load it with LoadImage( “asset::images/myimage.png” )
Any src asset path that ends with ‘/’ refers to an entire dir, eg: #Import “images/” will import all assets in ‘images’ dir to root assets dir, while #Import “images/@/images” will copy images dir to images subdir.
There is still some work to do here – I need to add file filters etc – and there will probably be a ‘nicer’ way to do this eventually, but it works for now.