2017 © Pedro Peláez
 

library jbuild

Robo.li tasks for Joomla! extensions (build, map and generate)

image

yvesh/jbuild

Robo.li tasks for Joomla! extensions (build, map and generate)

  • Tuesday, November 3, 2015
  • by yvesh
  • Repository
  • 4 Watchers
  • 0 Stars
  • 212 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Moved to joomla-projects/jorobo

This project has been moved to https://github.com/joomla-projects/jorobo

JBuild (Robo.li tasks for Joomla! extensions) Build Status

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Warning: Currently in early stage!

Robo.li build scripts, tools and generators for compojoom.com Joomla! extensions., (*2)

Installation (Standalone):

  • composer install
  • configure jbuild.ini
  • vendor/bin/robo

Function overview:

  • vendor/bin/robo map destination - Symlinks an extension into an Joomla installation
  • vendor/bin/robo build - Builds your extension into an installable Joomla package including replacements
  • vendor/bin/robo generate [--mod_xy --com_xy --plg_system_xy] (not integrated yet)

How-to use in your own extension

Update your composer.json file and add yvesh/jbuild:dev and do a composer require yvesh/jbuild:dev, (*3)

Make sure your RoboFile.php loads the tasks:, (*4)

<?php
require 'vendor/autoload.php';

class RoboFile extends \Robo\Tasks
{
    use \JBuild\Tasks\loadTasks;
    ..

Then you can use it your own tasks for example:, (*5)

$this->taskMap($target)->run();, (*6)

or, (*7)

$this->taskBuild($params)->run(), (*8)

Look at the RoboFile.php in the library root for a sample file, (*9)

Directory setup

In order to use JBuild you should use the following directory structure (it's like the normal joomla one), (*10)

Components

source/administrator/components/com_name/
source/administrator/components/com_name/name.xml
source/administrator/components/com_name/script.php (Optional)
source/components/com_name/
source/administrator/language/en-GB/en-GB.com_name.ini
source/administrator/language/en-GB/en-GB.com_name.sys.ini
source/language/en-GB/en-GB.com_name.ini
source/media/com_name

Modules

source/modules/mod_something
source/media/mod_something
source/language/en-GB/en-GB.mod_something.ini

Plugins

source/plugins/type/name
source/media/plg_type_name
source/administrator/language/en-GB/en-GB.plg_type_name.ini

The Versions

03/11 2015

dev-master

9999999-dev

Robo.li tasks for Joomla! extensions (build, map and generate)

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Yves Hoppe