Closed Eonasdan closed 7 years ago
Hey, I am going to leave the files and structure as set by the team at ckeditor. I'm basically doing this out of goodwill to them and would rather make it as simple as possible for me.
Thanks for the feedback though,
Mark
I just made a grunt file for my own repo that auto builds a nuget package. Would you be interested in that?
actually it would probably be really easy to do with your build.bat
file
I've set it up so I just run this file
I suppose I could set up some excludes on the nuget files? Am I right in thinking its just a few of the top level files that are causing the issue? I assume they can be excluded in the nuspec file?
your bat file is including all the files no matter what build, so even though you have -full
, -standard
, etc all the plugins get included. It would be great if you could edit the nuspec
files to match the ckeditor downloads
I think this is what already happens - each build (standard, standard-all etc) have a different subset of plugins - as per the ckeditor download packages.
So comparing the standard package -
The differences for the standard package seem to be at the top level -
The differences in this case are the bower.json and the composer.json file.
If I add an exclude for these 2 files are we good?
you are correct in that the nuget package contains the right plugins, sorry. It looked like from the build script that I was just stuffing all the plugins in.
I would suggest the removal of these files/folders from each package. lang
is optional but I feel like if someone needs the other langs they can go get them from ckeditor (but that's just me).
jquery doesn't need to be included; people needing jquery are likely going to already be using the jquery nuget package.
samples, again can be had from ckeditor if they need that otherwise it has to be deleted from every project.
the other files are github only files and are not needed for a VS project.
Hey - just pushed the next version 4.4.5 and changed the nuspec files not to include the following files
ckeditor-releases\samples\. ckeditor-releases\bower.json ckeditor-releases\build-config.js ckeditor-releases\composer.json
I thought it best to keep the licence, changes and readme files.
Mark
please don't just stuff everything from the repo into the nuget package. I really don't need the bower, and readme files, etc.