haxetink / tink_unittest

Tinkerbell Unit Testing
https://haxetink.github.io/tink_unittest
16 stars 4 forks source link

Usage with compilation server #9

Open kevinresol opened 7 years ago

kevinresol commented 7 years ago

Doesn't work with compilation server: Type not found : tink.unit.Suite_0

@back2dos any idea if I have done anything wrong with the type cache?

back2dos commented 7 years ago

I don't really know how the cache invalidation works, but tink.macro.BuildCache does manage to deal with the problem: https://github.com/haxetink/tink_macro/blob/master/src/tink/macro/BuildCache.hx#L180

kevinresol commented 7 years ago

Would be nice to have a little doc for BuildCache