Changeset 168


Ignore:
Timestamp:
Jan 19, 2018, 3:41:48 PM (7 years ago)
Author:
g7moreau
Message:
  • Add support for file and not always folder and add doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/project-meta/project-meta

    r167 r168  
    33# 2018/01/17 Gabriel Moreau
    44#
    5 # apt-get install libyaml-syck-perl libtemplate-perl
     5# apt-get install yamllint libyaml-syck-perl libtemplate-perl
    66
    77use strict;
     
    6060project-meta - opendata project metafile manager
    6161
    62  project-meta [-verbose] check
     62 project-meta check
    6363 project-meta make-link
    6464 project-meta make-author
     
    128128   for my $folder (sort keys %folders) {
    129129      print "chmod o+rX,o-w $current_dir/$folder\n";
    130       print "mkdir -p $dap_folder/$acronym/$folder\n";
     130      print "mkdir -p $dap_folder/$acronym/$folder\n" if -d $current_dir/$folder;
    131131      }
    132132
     
    279279=head1 USAGE
    280280
    281  project-meta [-verbose] check
     281 project-meta check
    282282 project-meta make-link
    283283 project-meta make-author
     
    298298(like for all the Klask code).
    299299
     300=head2 check
     301
     302 project-meta check
     303
     304Check your F<PROJECT-META.yml> has the good key.
     305If your metafile is not a valid YAML file,
     306you can use C<yamllint> command to check just it's format.
     307
    300308=head2 make-licence
    301309
     
    327335
    328336
     337=head1 SEE ALSO
     338
     339yamllint
     340
     341
    329342=head1 AUTHOR
    330343
    331 Written by Gabriel Moreau, Grenoble - France
     344Written by Gabriel Moreau, LEGI UMR5519, CNRS, Grenoble - France
    332345
    333346=head1 SPECIAL THANKS
     
    339352please forgive me in advance and send me an e-mail to correct this.
    340353
    341 Joel Sommeria, Julien Chauchat, Cyrille Bonamy.
     354Joel Sommeria, Julien Chauchat, Cyrille Bonamy, Antoine Mathieu.
    342355
    343356
Note: See TracChangeset for help on using the changeset viewer.