HaxeFoundation / haxelib

The Haxe library manager
https://lib.haxe.org/
MIT License
172 stars 78 forks source link

ignores (or includes) for haxelib submit directory #315

Open nadako opened 8 years ago

nadako commented 8 years ago

I use a script like this for releasing my libs and I end up copying it in every lib, because I only need to package a set of files, instead of everything in the directory, so haxelib submit . doesn't work for me.

This is a pity and I think we should improve directory submitting by introducing a .haxelibignore file or something, similar to what's done in NPM: https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

kevinresol commented 8 years ago

I use a shorter thing, for *nix only: https://github.com/kevinresol/geojson/blob/master/submit.sh

But agreed that haxelib submit should support something like .haxelibignore