cakefile

Podspec - Exclude all but a subfolder

别等时光非礼了梦想. 提交于 2019-12-13 03:49:16
问题 I have a structure like this target_files/ ├──target1/ ├──target2/ └──target3/ And I want to include only "target2" for example and exclude the other targets. How I write the spec.exclude_files? I found this example for excluding files, but I can't understand how to write it for whole folders. spec.exclude_files = '_private/**/*.{h,m}' 回答1: spec.source_files = [ 'target_files/**' ] spec.exclude_files = [ 'target_files/target1/**', 'target_files/target3/**' ] or for the case you ask about,

compile and join coffeescript files

…衆ロ難τιáo~ 提交于 2019-12-11 05:43:02
问题 I have the following structure: /lib / myfile.js.cofee / secondfile.js /src and i would like to compile them into /lib / myfile.js.cofee / secondfile.js /src / awesomefile.min.js I have read about Cakefiles, but i'm not sure how to exactly do this. Thanks, Mike 回答1: If you happen to be using something based on connect (e.g. express), I'd recommend using connect-assets. If not, then grunt may be a good bet, as was previously suggested. If you'd like to do this yourself using a Cakefile , here