WurstScript icon indicating copy to clipboard operation
WurstScript copied to clipboard

Incremental compilation

Open PhoenixZeng opened this issue 5 years ago • 2 comments

when only change a wurst package. not need compile all package.

when only change the map file like object/sound (not change any package) ,no need compile ,just need inject it.

it can compile fast

PhoenixZeng avatar Jan 12 '19 11:01 PhoenixZeng

when only change a wurst package. not need compile all package.

It's not that easy. What you're asking for is incremental compilation. Would be nice but usually causes more problems than it solves. We already had this with partial type checks at one point but disabled it again.

when only change the map file like object/sound (not change any package) ,no need compile ,just need inject it.

This could be more elegantly solved by some third command or so that just repackages the map without script compilation imho.

Frotty avatar Jan 12 '19 11:01 Frotty

well . i got it

PhoenixZeng avatar Jan 12 '19 11:01 PhoenixZeng