mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
First implementation of 'ScriptPlugin', which serves script files as scripts
This commit is contained in:
parent
01325c8c7e
commit
67ac6b7cec
4 changed files with 64 additions and 1 deletions
|
|
@ -4,6 +4,9 @@ use plugin::{Plugin, PluginChain, PluginResult};
|
|||
use rbx::{RbxItem, RbxValue};
|
||||
use vfs::VfsItem;
|
||||
|
||||
/// A plugin with simple transforms:
|
||||
/// * Directories become Folder instances
|
||||
/// * Files become StringValue objects with 'Value' as their contents
|
||||
pub struct DefaultPlugin;
|
||||
|
||||
impl DefaultPlugin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue