From 75f060d6b70c4d7a8b52d1455ebbfb58009bd5a3 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Thu, 6 Jul 2017 16:04:40 +0200 Subject: [PATCH] extended compiler: standalone and library build --- compiler.php | 72 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 49 insertions(+), 23 deletions(-) diff --git a/compiler.php b/compiler.php index f6d471a..23c57c6 100755 --- a/compiler.php +++ b/compiler.php @@ -1,32 +1,58 @@ #!/usr/bin/env php run();' +), FILE_APPEND ); + +/** + * Build library + */ +file_put_contents( $IFM_BUILD_LIB_PHP, $main ); +file_put_contents( $IFM_BUILD_LIB_PHP, $phpincludes, FILE_APPEND ); +file_put_contents( $IFM_BUILD_LIB_JS, $IFM_SRC_JS );