Sha256: 4fdefef88e791fd899e55f522c3325338e1857fe037de8b1b404351b67df7ee2

Contents?: true

Size: 547 Bytes

Versions: 9

Compression:

Stored size: 547 Bytes

Contents

<?php

require 'wordless_bridge.php';

class ThemeBuilder extends WordlessBridge {
  public static function start() {
    global $argv, $theme_name;

    parent::initialize();

    require_once Wordless::join_paths(self::$plugin_dir, "wordless", "theme_builder.php");

    $theme_name = $argv[1] ? $argv[1] : 'wordless';
    $permissions = substr(sprintf('%o', fileperms(self::$plugin_dir)), -4);

    $builder = new WordlessThemeBuilder($theme_name, $theme_name, intval($permissions, 8));
    $builder->build();
  }
}

ThemeBuilder::start();

?>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wordless-1.1.6 lib/wordless/theme_builder.php
wordless-1.1.5 lib/wordless/theme_builder.php
wordless-1.1.2 lib/wordless/theme_builder.php
wordless-1.1.1 lib/wordless/theme_builder.php
wordless-1.1.0 lib/wordless/theme_builder.php
wordless-1.0.0 lib/wordless/theme_builder.php
wordless-0.4.1 lib/wordless/theme_builder.php
wordless-0.4.0 lib/wordless/theme_builder.php
wordless-0.3.0 lib/wordless/theme_builder.php