提高品牌宣传度 #42

Closed
NathanFreeman wants to merge 4 commits from logo-text into master
  1. 6
      TypePHP.txt
  2. 2
      bin/bootstrap.php
  3. 2
      bin/tpc.php
  4. 1
      src/Translator.php

@ -0,0 +1,6 @@
______ ____ __ ______ ______ _ __
/_ __/_ ______ ___ / __ \/ / / / __ \ / ____/___ ____ ___ ____ (_) /__ _____
/ / / / / / __ \/ _ \/ /_/ / /_/ / /_/ / / / / __ \/ __ `__ \/ __ \/ / / _ \/ ___/
/ / / /_/ / /_/ / __/ ____/ __ / ____/ / /___/ /_/ / / / / / / /_/ / / / __/ /
/_/ \__, / .___/\___/_/ /_/ /_/_/ \____/\____/_/ /_/ /_/ .___/_/_/\___/_/ v%s
/____/_/ /_/ %s

@ -1,6 +1,6 @@
<?php
define("ROOT_PATH", dirname(__DIR__));
define('DEBUG', true);
const DEBUG = true;
require ROOT_PATH . '/vendor/autoload.php';
require ROOT_PATH . '/src/functions.php';

@ -5,5 +5,7 @@ require __DIR__ . '/../src/polyfills.php';
require __DIR__ . '/../src/gen_stub.php';
require __DIR__ . '/../src/compiler.php';
echo sprintf(file_get_contents(ROOT_PATH."/TypePHP.txt"), \TypePhp\Translator::VERSION, \TypePhp\Translator::WEBSITE).PHP_EOL;
const TYPEPHP_PHP_SCRIPT_ENTRY = true;
main($argc, $argv);

@ -60,6 +60,7 @@ class Translator extends Preprocessor
public const string VERSION = '0.4.3';
public const string APP_NAME = 'TypePHP Compiler (AOT)';
public const string WEBSITE = 'https://www.swoole.com/aot/';
protected string $targetName = 'app';
protected bool $hasExplicitOutput = false;

Loading…
Cancel
Save