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 - chmod 755 ./run-linux-tests
- ./update-deps-linux - ./update-deps-linux
- ./dev-update-travis - ./dev-update-travis
- go build -o Gosora
- ./Gosora -build-templates
install: true install: true
script: ./run-linux-tests script: ./run-linux-tests
addons: addons:

View File

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

View File

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