This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="7masters-1" default="start"> | |
<target name="start" depends="step-a,step-b,step-c"/> | |
<target name="step-a"> | |
<echo msg="Este é o Projeto ${phing.project.name}"/> | |
</target> | |
<target name="step-b"> | |
<echo msg="Nunca chegaremos ao Passo C :D"/> | |
<php expression="11/0" returnProperty="erro" level="error"/> | |
<fail if="erro" msg="Você está vendo esta pois há um erro"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="7masters-2" default="start"> | |
<target name="start" depends="composer,update,dirs"/> | |
<target name="composer"> | |
<available file="composer.phar" property="composer.exists"/> | |
<echo msg="${composer.exists}"/> | |
<if> | |
<not> | |
<isset property="composer.exists"/> | |
</not> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"7maters", | |
"require":{ | |
"php":"5.3.*", | |
"monolog/monolog":"1.5.*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Duodraco\Foundation\Command; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
abstract class Command extends Controller | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="TheProject" default="build" basedir="."> | |
<!-- Altere estas propriedades adequando-as ao seu projeto --> | |
<property name="application.library" value="${project.basedir}/library"/> | |
<property name="application.tests" value="${project.basedir}/tests"/> | |
<property name="application.builddir" value="${project.basedir}/build"/> | |
<target name="build" |
OlderNewer