~ salmonella-environment-setup (master) cdaccd933e439c2447377e65c197d2c54a5de699
commit cdaccd933e439c2447377e65c197d2c54a5de699
Author: Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Sun May 27 10:58:18 2018 +0200
Commit: Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sun May 27 10:58:18 2018 +0200
conf: Move debugbuild settings to common/debugbuild.scm
diff --git a/conf/chicken-4-debugbuild-no-cache.conf b/conf/chicken-4-debugbuild-no-cache.conf
index 596809c..98c05f1 100644
--- a/conf/chicken-4-debugbuild-no-cache.conf
+++ b/conf/chicken-4-debugbuild-no-cache.conf
@@ -1,8 +1,5 @@
(load-relative "./common/common.scm")
(load-relative "./common/chicken-4.scm")
+(load-relative "./common/debugbuild.scm")
(keep-repo? #f)
-
-(branch-publish-transformer
- (lambda (branch)
- (string-append branch "-debugbuild")))
diff --git a/conf/chicken-4-debugbuild.conf b/conf/chicken-4-debugbuild.conf
index 60bbfb1..88f0edd 100644
--- a/conf/chicken-4-debugbuild.conf
+++ b/conf/chicken-4-debugbuild.conf
@@ -1,6 +1,3 @@
(load-relative "./common/common.scm")
(load-relative "./common/chicken-4.scm")
-
-(branch-publish-transformer
- (lambda (branch)
- (string-append branch "-debugbuild")))
+(load-relative "./common/debugbuild.scm")
diff --git a/conf/chicken-5-debugbuild-no-cache.conf b/conf/chicken-5-debugbuild-no-cache.conf
index b11d394..aaffd82 100644
--- a/conf/chicken-5-debugbuild-no-cache.conf
+++ b/conf/chicken-5-debugbuild-no-cache.conf
@@ -1,8 +1,5 @@
(load-relative "./common/common.scm")
(load-relative "./common/chicken-5.scm")
+(load-relative "./common/debugbuild.scm")
(keep-repo? #f)
-
-(branch-publish-transformer
- (lambda (branch)
- (string-append branch "-debugbuild")))
diff --git a/conf/chicken-5-debugbuild.conf b/conf/chicken-5-debugbuild.conf
index b30e11d..6038bfb 100644
--- a/conf/chicken-5-debugbuild.conf
+++ b/conf/chicken-5-debugbuild.conf
@@ -1,6 +1,3 @@
(load-relative "./common/common.scm")
(load-relative "./common/chicken-5.scm")
-
-(branch-publish-transformer
- (lambda (branch)
- (string-append branch "-debugbuild")))
+(load-relative "./common/debugbuild.scm")
diff --git a/conf/common/debugbuild.scm b/conf/common/debugbuild.scm
new file mode 100644
index 0000000..522876d
--- /dev/null
+++ b/conf/common/debugbuild.scm
@@ -0,0 +1,3 @@
+(branch-publish-transformer
+ (lambda (branch)
+ (string-append branch "-debugbuild")))
Trap