sabre-io / katana

:hocho: A contact, calendar, task list and file server, synced, everywhere, all the time
http://sabre.io/katana/
Other
149 stars 22 forks source link

Fix build system #295

Closed evert closed 8 years ago

evert commented 8 years ago

Currently the build system produces a 140MB zip file and no phar. I'd like to see if this is fixable.

Hywan commented 8 years ago

Do you want to ameliorate the Makefile targets? We have everything inside. And a PHAR is build :-).

evert commented 8 years ago

Hmm... I looked at the Makefile but could not find it there. Just running make also didn't do it for me.

mengelbrecht commented 8 years ago

The 0.4.0 release also contains a folder build which contains another katana_0.4.0.zip file (~71mb). Also there is a file data/configuration/server.json which leads katana to thinking it is already configured...

These files/folders should probably be excluded when creating the zip file.

evert commented 8 years ago

Ah I guess the build system doesn't really make an attempt to do a clean build. I'll try to do another release based on a clean directory today.

evert commented 8 years ago

I just put out a 0.4.1 release, that's down to 84 megs and should no longer have any residual configuration. Take a look. This is not a final fix though.

mengelbrecht commented 8 years ago

Looks good :+1:

evert commented 8 years ago

PR #297 addresses this. The new build system creates a 6.1MB zip file ;)