yvesh/jbuild 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yvesh/jbuild

Composer 安装命令:

composer require yvesh/jbuild

包简介

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

README 文档

README

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

Warning: Currently in early stage!

Robo.li build scripts, tools and generators for compojoom.com Joomla! extensions.

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

Make sure your RoboFile.php loads the tasks:

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

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

Then you can use it your own tasks for example:

$this->taskMap($target)->run();

or

$this->taskBuild($params)->run()

Look at the RoboFile.php in the library root for a sample file

Directory setup

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

####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

统计信息

  • 总下载量: 218
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-10-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固