From ac26e1e94c90029c9bb4170b733964f8abfd8539 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 26 Oct 2017 20:25:03 +0200 Subject: [PATCH 1/4] fixed a typo --- test/calendarwebapp/testevent.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/calendarwebapp/testevent.d b/test/calendarwebapp/testevent.d index 3a1daf6..e351881 100644 --- a/test/calendarwebapp/testevent.d +++ b/test/calendarwebapp/testevent.d @@ -38,7 +38,7 @@ public: } } -@("getEventMongoDBEventStore.getEvent failure") +@("MongoDBEventStore.getEvent failure") @system unittest { auto collection = mock!Collection; From 262b7ddbff33bd9cbf9a7fa0b738780215809be6 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Fri, 27 Oct 2017 18:18:32 +0200 Subject: [PATCH 2/4] added everything in the generated folder to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 95e4ce0..3e976eb 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __dummy.html __test__*__ calendar-webapp* events.json -dub.selections.json \ No newline at end of file +dub.selections.json +generated/* From 59ecb327e71c1133f2c2e1f55f26d03513104bcb Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sat, 28 Oct 2017 11:58:23 +0200 Subject: [PATCH 3/4] Added initial .gitlab-ci.yml to automatically test builds --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..538b6f8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: base/devel + +before_script: + - pacman -Sy + - pacman --noconfirm -S ldc dub libevent + +stages: + - build + - test + +build: + stage: build + script: + - dub build --compiler=ldc2 + +test: + stage: test + script: + - dub test --compiler=ldc2 From 011d3c21b6fcd6c4079ade192ce286f2128a49e7 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sat, 28 Oct 2017 12:17:24 +0200 Subject: [PATCH 4/4] Use goldlinker. This massively reduces link time. --- dub.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dub.json b/dub.json index 458b1f0..74add46 100644 --- a/dub.json +++ b/dub.json @@ -35,5 +35,8 @@ ], "versions": [ "VibeUseOpenSSL11" + ], + "lflags": [ + "-fuse-ld=gold" ] }