Remove trailing whitespace

This commit is contained in:
Eelco Dolstra
2013-01-22 14:41:02 +01:00
parent aa28ffe3a8
commit 67aefde62c
65 changed files with 1034 additions and 1034 deletions

View File

@ -12,7 +12,7 @@ TESTS_ENVIRONMENT = \
NIX_BUILD_HOOK= \
PERL5LIB="$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB" \
PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/c:$$PATH \
perl -w
perl -w
EXTRA_DIST = \
$(wildcard *.pm) \
@ -35,7 +35,7 @@ db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
repos : dirs
dirs :
dirs :
mkdir -p data
touch data/hydra.conf
mkdir -p nix

View File

@ -32,7 +32,7 @@ sub nrQueuedBuildsForJobset {
sub createBaseJobset {
my ($jobsetName, $nixexprpath) = @_;
my $db = Hydra::Model::DB->new;
my $project = $db->resultset('Projects')->update_or_create({name => "tests", displayname => "", owner => "root"});
my $jobset = $project->jobsets->create({name => $jobsetName, nixexprinput => "jobs", nixexprpath => $nixexprpath, emailoverride => ""});

View File

@ -1,18 +1,18 @@
with import ./config.nix;
{
empty_dir =
{
empty_dir =
mkDerivation {
name = "empty-dir";
builder = ./empty-dir-builder.sh;
};
fails =
fails =
mkDerivation {
name = "fails";
builder = ./fail.sh;
};
succeed_with_failed =
succeed_with_failed =
mkDerivation {
name = "succeed-with-failed";
builder = ./succeed-with-failed.sh;

View File

@ -7,7 +7,7 @@ let
builder = ./empty-dir-builder.sh;
};
build2 =
build2 =
{build1 ? jobs.build1 }:
mkDerivation {
name = "build2";

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "bzr-checkout-input";
builder = ./scm-builder.sh;

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "bzr-input";
builder = ./scm-builder.sh;

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "git-input";
builder = ./scm-builder.sh;

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "git-input";
builder = ./scm-builder.sh;

View File

@ -1,6 +1,6 @@
#! /bin/sh
# This script is used both by git & deepgit checks.
set -e
set -e
repo=git-repo
export HOME=$(pwd)
@ -12,9 +12,9 @@ else
state=0;
fi
echo "STATE: $state"
echo "STATE: $state"
case $state in
(0) echo "::Create repo. -- continue -- updated::"
(0) echo "::Create repo. -- continue -- updated::"
git init $repo
cd $repo
git config --global user.email "you@example.com"

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "hg-input";
builder = ./scm-builder.sh;

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "bzr-checkout-input";
builder = ./scm-builder.sh;

View File

@ -1,7 +1,7 @@
with import ./config.nix;
{ src }:
{
copy =
{
copy =
mkDerivation {
name = "svn-input";
builder = ./scm-builder.sh;