Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 1d920dd

Browse files
committed
Merge pull request #6 from grasmash/renaming-targtes
Removing bolt: prefix from targets.
2 parents 0354b93 + 56ebeb2 commit 1d920dd

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ before_script:
4646

4747
script:
4848
# Generate a new 'bolted' project.
49-
- ./bolt.sh bolt:configure
50-
- ./bolt.sh bolt:create
49+
- ./bolt.sh configure
50+
- ./bolt.sh create
5151
# Call targets in the new 'bolted' project.
5252
- ../bolted8/bolt.sh build:validate:test -Dbehat.run-server=true -Dbehat.launch-phantom=true
5353
# Deploy build artifact.

INSTALL.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You should be able to use the following tools on the command line of your native
2828

2929
# Generate and modify configuration files
3030

31-
From the Bolt repository’s root directory, run `./bolt.sh bolt:configure`. This will create your project-specific configuration files. After running, the following files should exist in the Bolt root directory:
31+
From the Bolt repository’s root directory, run `./bolt.sh configure`. This will create your project-specific configuration files. After running, the following files should exist in the Bolt root directory:
3232

3333
* project.yml
3434
* local.drushrc.php
@@ -49,7 +49,7 @@ Bolt’s “installer” will do the following:
4949
* Replaces tokens in copied files with project-specific strings
5050
* Removes installation artifacts
5151

52-
Run `./bolt.sh bolt:create` to do all the things! Once it’s completed, change directories to your new project directory. E.g., cd /path/to/my/new/project. All subsequent steps will happen inside your new project. You have left the Bolt repository behind.
52+
Run `./bolt.sh create` to do all the things! Once it’s completed, change directories to your new project directory. E.g., cd /path/to/my/new/project. All subsequent steps will happen inside your new project. You have left the Bolt repository behind.
5353

5454
## Modifying project files
5555

build/phing/build.xml

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
<taskdef name="randomString" classname="${bolt.root}.vendor.platinumpixs.phing-random-string.src.PlatinumPixs.RandomString.GenerateTask" />
1717

1818
<!-- 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">
2121
</target>
2222

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.">
2424
<delete file="${bolt.root}/project.yml" quiet="true"/>
2525
<delete file="${bolt.root}/local.settings.php" quiet="true"/>
2626
<delete file="${bolt.root}/local.drushrc.php" quiet="true"/>
@@ -32,7 +32,7 @@
3232
<!-- Creates new configuration files to be used for new project generation.
3333
Note: this target must be called by itself first. Other targets must be
3434
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.">
3636
<randomString name="project.hash_salt" length="55" stringType="lowercase_uppercase_numeric" />
3737
<copy file="${bolt.root}/template/project.yml" todir="${bolt.root}">
3838
<filterchain>
@@ -48,16 +48,16 @@
4848
<echo>${bolt.root}/local.settings.php</echo>
4949
<echo>${bolt.root}/local.drushrc.php</echo>
5050
<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>
5252
</target>
5353

5454
<!-- 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.">
5656
<available file="${bolt.root}/project.yml" property="project.yml.exists" value="true"/>
5757
<if>
5858
<not><istrue value="${project.yml.exists}"/></not>
5959
<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>
6161
</then>
6262
</if>
6363

@@ -145,9 +145,9 @@
145145
A few things to note:
146146
- We do not run validate:* targets, since they can be run in parallel.
147147
-->
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" />
151151
<phingcall target="setup:build:all" />
152152
<phingcall target="setup:drupal:install" />
153153
<phingcall target="setup:git-hooks" />

0 commit comments

Comments
 (0)