~ salmonella-environment-setup (master) d048b16a6d99d53ff3d8e20401b85ab230a65ba2
commit d048b16a6d99d53ff3d8e20401b85ab230a65ba2
Author: Mario Domenech Goulart <mario.goulart@gmail.com>
AuthorDate: Mon Apr 28 21:04:16 2014 -0300
Commit: Mario Domenech Goulart <mario.goulart@gmail.com>
CommitDate: Mon Apr 28 21:04:52 2014 -0300
salmonella-linux-x86: add a file for common configuration among all config files
diff --git a/salmonella-linux-x86/common.scm b/salmonella-linux-x86/common.scm
new file mode 100644
index 0000000..0eb7f35
--- /dev/null
+++ b/salmonella-linux-x86/common.scm
@@ -0,0 +1,13 @@
+(use salmonella-run-publish-params posix files)
+
+(keep-repo? #t)
+
+(compress-report? #f)
+(create-report-tarball 'gzip)
+
+(web-dir
+ (make-pathname (list (get-environment-variable "HOME")
+ "salmonella")
+ "reports"))
+
+(feeds-server "salmonella-linux-x86.call-cc.org")
diff --git a/salmonella-linux-x86/master-clang.conf b/salmonella-linux-x86/master-clang.conf
index 89c0d86..34a8ead 100644
--- a/salmonella-linux-x86/master-clang.conf
+++ b/salmonella-linux-x86/master-clang.conf
@@ -1,14 +1,3 @@
-(use salmonella-run-publish-params posix files)
+(load-relative "./common.scm")
-(compress-report? #f)
-(create-report-tarball 'gzip)
-
-(keep-repo? #t)
(c-compiler "clang")
-
-(web-dir
- (make-pathname (list (get-environment-variable "HOME")
- "salmonella")
- "reports"))
-
-(feeds-server "salmonella-linux-x86.call-cc.org")
diff --git a/salmonella-linux-x86/master-debugbuild.conf b/salmonella-linux-x86/master-debugbuild.conf
index a4d64f0..2a3d981 100644
--- a/salmonella-linux-x86/master-debugbuild.conf
+++ b/salmonella-linux-x86/master-debugbuild.conf
@@ -1,17 +1,5 @@
-(use salmonella-run-publish-params posix files)
-
-(compress-report? #f)
-(create-report-tarball 'gzip)
-
-(keep-repo? #t)
+(load-relative "./common.scm")
(branch-publish-transformer
(lambda (branch)
(string-append branch "-debugbuild")))
-
-(web-dir
- (make-pathname (list (get-environment-variable "HOME")
- "salmonella")
- "reports"))
-
-(feeds-server "salmonella-linux-x86.call-cc.org")
diff --git a/salmonella-linux-x86/master.conf b/salmonella-linux-x86/master.conf
index 3b1b6aa..e2a1460 100644
--- a/salmonella-linux-x86/master.conf
+++ b/salmonella-linux-x86/master.conf
@@ -1,13 +1 @@
-(use salmonella-run-publish-params posix files)
-
-(compress-report? #f)
-(create-report-tarball 'gzip)
-
-(keep-repo? #t)
-
-(web-dir
- (make-pathname (list (get-environment-variable "HOME")
- "salmonella")
- "reports"))
-
-(feeds-server "salmonella-linux-x86.call-cc.org")
+(load-relative "./common.scm")
diff --git a/salmonella-linux-x86/prerelease.conf b/salmonella-linux-x86/prerelease.conf
index e9eccb2..eb8103a 100644
--- a/salmonella-linux-x86/prerelease.conf
+++ b/salmonella-linux-x86/prerelease.conf
@@ -1,15 +1,4 @@
-(use salmonella-run-publish-params posix files)
+(load-relative "./common.scm")
-(compress-report? #f)
-(create-report-tarball 'gzip)
-
-(keep-repo? #t)
(chicken-core-branch "prerelease")
(skip-eggs (cons 'scsh-process (skip-eggs)))
-
-(web-dir
- (make-pathname (list (get-environment-variable "HOME")
- "salmonella")
- "reports"))
-
-(feeds-server "salmonella-linux-x86.call-cc.org")
diff --git a/salmonella-linux-x86/stability.conf b/salmonella-linux-x86/stability.conf
index 81726a0..56585b4 100644
--- a/salmonella-linux-x86/stability.conf
+++ b/salmonella-linux-x86/stability.conf
@@ -1,19 +1,8 @@
;; -*- scheme -*-
-(use salmonella-run-publish-params posix files)
+(load-relative "./common.scm")
-(compress-report? #f)
-(create-report-tarball 'gzip)
-
-(keep-repo? #t)
(chicken-core-branch "stability/4.8.0")
(branch-publish-transformer
(lambda (branch)
"stability-4.8.0.x"))
-
-(web-dir
- (make-pathname (list (get-environment-variable "HOME")
- "salmonella")
- "reports"))
-
-(feeds-server "salmonella-linux-x86.call-cc.org")
Trap