From 8ff8ce8e51f9d8d5789696951c31ff6bd29e7a3e Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 16 May 2018 21:44:32 +1000 Subject: [PATCH] Solve the chicken and the egg problem with the templates. --- .travis.yml | 2 -- tmpl_client/stub.go | 4 +++- tmpl_stub.go | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0075a3de..efa818a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,6 @@ before_install: - chmod 755 ./run-linux-tests - ./update-deps-linux - ./dev-update-travis - - go build -o Gosora - - ./Gosora -build-templates install: true script: ./run-linux-tests addons: diff --git a/tmpl_client/stub.go b/tmpl_client/stub.go index fd5e3c4c..7c0dc0ed 100644 --- a/tmpl_client/stub.go +++ b/tmpl_client/stub.go @@ -1,3 +1,5 @@ package tmpl -var GetFrag func(name string) [][]byte +var GetFrag = func(name string) [][]byte { + return nil +} diff --git a/tmpl_stub.go b/tmpl_stub.go index 8e31bef9..449cea1c 100644 --- a/tmpl_stub.go +++ b/tmpl_stub.go @@ -1,3 +1,5 @@ package main -var GetFrag func(name string) [][]byte +var GetFrag = func(name string) [][]byte { + return nil +}