Solve the chicken and the egg problem with the templates.

This commit is contained in:
Azareal 2018-05-16 21:44:32 +10:00
parent 8035c27445
commit 8ff8ce8e51
3 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -1,3 +1,5 @@
package tmpl
var GetFrag func(name string) [][]byte
var GetFrag = func(name string) [][]byte {
return nil
}

View File

@ -1,3 +1,5 @@
package main
var GetFrag func(name string) [][]byte
var GetFrag = func(name string) [][]byte {
return nil
}