Remove the decompile_as target as it is no longer used

See b05fe06abe
This commit is contained in:
Allan Odgaard
2019-09-05 09:52:16 +02:00
parent 4820e876d2
commit 77df3c2618
2 changed files with 0 additions and 25 deletions

View File

@@ -1,23 +0,0 @@
#import <OSAKit/OSAKit.h>
static double const AppVersion = 1.0;
int main (int argc, char const* argv[])
{
if(argc == 2 && (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-v") == 0))
{
fprintf(stdout, "%1$s %2$.1f (" __DATE__ ")\n", getprogname(), AppVersion);
return EX_OK;
}
@autoreleasepool {
NSDictionary* errorInfo = nil;
OSAScript* script = [[OSAScript alloc] initWithCompiledData:[[NSFileHandle fileHandleWithStandardInput] readDataToEndOfFile] error:&errorInfo];
std::string str = [[script source] UTF8String];
std::replace(str.begin(), str.end(), '\r', '\n');
write(STDOUT_FILENO, str.data(), str.size());
}
return EX_OK;
}

View File

@@ -1,2 +0,0 @@
SOURCES = src/*.mm
FRAMEWORKS = Foundation OSAKit