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 DrupalComposer\DrupalProject; | |
use Composer\DependencyResolver\Operation\InstallOperation; | |
use Composer\DependencyResolver\Operation\UninstallOperation; | |
use Composer\DependencyResolver\Operation\UpdateOperation; | |
use Composer\Package\PackageInterface; | |
class Scripts { |
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
# This is a command configuration to be used with https://github.com/derhasi/buddy | |
commands: | |
# calls the global composer command from the root folder | |
composer: | |
cmd: composer | |
workingDir: $DIR | |
# Calls a local drush command in ./vendor/bin/drush | |
drush: | |
cmd: drush | |
cmdDir: $DIR/vendor/bin |
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
<div class="gallery"> | |
<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/gettyimages-478925238.jpg?itok=IqPfTVbU"> | |
<!--<img src="http://i3.bstatic.de/sites/default/files/styles/gallery_large/public/ddpimages_05879631.jpg?itok=zai-mIxT">--> | |
</div> |
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
# git tag | grep build | while read -r TAGNAME; do echo "this is tag $TAGNAME"; done | |
# git push --delete origin $TAGNAME; git tag -d $TAGNAME | |
# | |
# Delete all tags containing a specified search term: e.g. "build" in this example | |
# | |
KEYWORD="build"; | |
git tag | grep $KEYWORD | while read -r TAGNAME; do git push --delete origin $TAGNAME; git tag -d $TAGNAME; done |
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
#!/usr/bin/env bash | |
######################################################################################################################## | |
# | |
# BUILD SCRIPT | |
# | |
# Currently the build is triggered from the current branch! | |
# | |
# The build script builds a new branch from the current branch by installing all dependencies and allowing those | |
# dependencies to be checked in with using .build.gitignore. |
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
{ | |
"description": "Composer template for Drupal projects", | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "custom/package", | |
"type": "metapackage", | |
"version": "1.0.0", | |
"require": { |
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
diff --git a/test.txt b/test.txt | |
new file mode 100644 | |
index 0000000..b8a55bf | |
--- /dev/null | |
+++ b/test.txt | |
@@ -0,0 +1 @@ | |
+This is only a test file to test the patch. |
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
{ | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://drupal-packagist.webflo.io/" | |
} | |
], | |
"minimum-stability": "dev", | |
"prefer-stable": true, | |
"require": { |
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
{ | |
"packages": { | |
"drupal/drupal": { | |
"7.32.0": { | |
"name": "drupal/drupal", | |
"type": "non-destructive-archive-installer", | |
"version": "7.32.0", | |
"dist": { | |
"url": "http://ftp.drupal.org/files/projects/drupal-7.32.zip", | |
"type": "zip" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |