|
16 | 16 | <taskdef name="randomString" classname="${bolt.root}.vendor.platinumpixs.phing-random-string.src.PlatinumPixs.RandomString.GenerateTask" />
|
17 | 17 |
|
18 | 18 | <!-- Runs all bolt related targets. -->
|
19 |
| - <target name="bolt:new-project" description="Runs all targets required to spin up new project from Bolt." |
20 |
| - depends="bolt:configure, bolt:create"> |
| 19 | + <target name="new-project" description="Runs all targets required to spin up new project from Bolt." |
| 20 | + depends="configure, create"> |
21 | 21 | </target>
|
22 | 22 |
|
23 |
| - <target name="bolt:clean" description="Removes generated configuration files from Bolt directory."> |
| 23 | + <target name="clean" description="Removes generated configuration files from Bolt directory."> |
24 | 24 | <delete file="${bolt.root}/project.yml" quiet="true"/>
|
25 | 25 | <delete file="${bolt.root}/local.settings.php" quiet="true"/>
|
26 | 26 | <delete file="${bolt.root}/local.drushrc.php" quiet="true"/>
|
|
32 | 32 | <!-- Creates new configuration files to be used for new project generation.
|
33 | 33 | Note: this target must be called by itself first. Other targets must be
|
34 | 34 | executed separately so that they may load the correct configuration -->
|
35 |
| - <target name="bolt:configure" description="Generates default .yml configuration files based on provided example files."> |
| 35 | + <target name="configure" description="Generates default .yml configuration files based on provided example files."> |
36 | 36 | <randomString name="project.hash_salt" length="55" stringType="lowercase_uppercase_numeric" />
|
37 | 37 | <copy file="${bolt.root}/template/project.yml" todir="${bolt.root}">
|
38 | 38 | <filterchain>
|
|
48 | 48 | <echo>${bolt.root}/local.settings.php</echo>
|
49 | 49 | <echo>${bolt.root}/local.drushrc.php</echo>
|
50 | 50 | <echo></echo>
|
51 |
| - <echo>Modify these files and then run "./bolt.sh bolt:create" to generate a new project.</echo> |
| 51 | + <echo>Modify these files and then run "./bolt.sh create" to generate a new project.</echo> |
52 | 52 | </target>
|
53 | 53 |
|
54 | 54 | <!-- Create a new project directory based on current repository. -->
|
55 |
| - <target name="bolt:create" description="Create a new project based on local repository."> |
| 55 | + <target name="create" description="Create a new project based on local repository."> |
56 | 56 | <available file="${bolt.root}/project.yml" property="project.yml.exists" value="true"/>
|
57 | 57 | <if>
|
58 | 58 | <not><istrue value="${project.yml.exists}"/></not>
|
59 | 59 | <then>
|
60 |
| - <fail>Please run "./bolt.sh bolt:configure" before running "./bolt.sh bolt:create."</fail> |
| 60 | + <fail>Please run "./bolt.sh configure" before running "./bolt.sh create."</fail> |
61 | 61 | </then>
|
62 | 62 | </if>
|
63 | 63 |
|
|
145 | 145 | A few things to note:
|
146 | 146 | - We do not run validate:* targets, since they can be run in parallel.
|
147 | 147 | -->
|
148 |
| - <target name="bolt:self-test" description="Runs tests against acquia/bolt proper."> |
149 |
| - <phingcall target="bolt:configure" /> |
150 |
| - <phingcall target="bolt:create" /> |
| 148 | + <target name="self-test" description="Runs tests against acquia/bolt proper."> |
| 149 | + <phingcall target="configure" /> |
| 150 | + <phingcall target="create" /> |
151 | 151 | <phingcall target="setup:build:all" />
|
152 | 152 | <phingcall target="setup:drupal:install" />
|
153 | 153 | <phingcall target="setup:git-hooks" />
|
|
0 commit comments