Remove trailing whitespace
This commit is contained in:
@ -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
|
||||
|
@ -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 => ""});
|
||||
|
@ -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;
|
||||
|
@ -7,7 +7,7 @@ let
|
||||
builder = ./empty-dir-builder.sh;
|
||||
};
|
||||
|
||||
build2 =
|
||||
build2 =
|
||||
{build1 ? jobs.build1 }:
|
||||
mkDerivation {
|
||||
name = "build2";
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "bzr-checkout-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "bzr-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "git-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "git-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -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"
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "hg-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "bzr-checkout-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
@ -1,7 +1,7 @@
|
||||
with import ./config.nix;
|
||||
{ src }:
|
||||
{
|
||||
copy =
|
||||
{
|
||||
copy =
|
||||
mkDerivation {
|
||||
name = "svn-input";
|
||||
builder = ./scm-builder.sh;
|
||||
|
Reference in New Issue
Block a user