diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-15 04:39:03 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-15 04:50:45 -0400 |
| commit | 5117a8f8a289101723bc74d4e9c45581d5b99172 (patch) | |
| tree | 99e63aede656212711c40475a797419d639b7acd /msg.proto | |
| parent | 03af2c711818d616f8de82a5bc731a8ec2dbc723 (diff) | |
Compile cache and relative imports working.
Diffstat (limited to 'msg.proto')
| -rw-r--r-- | msg.proto | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -7,14 +7,16 @@ message Msg { READ_FILE_SYNC = 1; DATA_RESPONSE = 2; EXIT = 3; + COMPILE_OUTPUT = 4; } MsgKind kind = 10; - // START - string cwd = 11; - repeated string argv = 12; + oneof payload { + StartMsg start = 90; + CompileOutputMsg compile_output = 100; + } - // READ_FILE_SYNC + // READ_FILE_SYNC and MKDIRP string path = 20; // DATA_RESPONSE @@ -24,3 +26,15 @@ message Msg { // EXIT int32 code = 40; } + +// START +message StartMsg { + string cwd = 1; + repeated string argv = 2; +} + +// WRITE_COMPILE_OUTPUT +message CompileOutputMsg { + string source = 1; + string filename = 2; +} |
