Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
t
 
 
 
 
 
 
 
 
 
 

README.md

Easiest way to ignore junk in your VCS folder

Currently supported : hg, git

TODO :
 - multiply ignore files

Usage:
  bin/ignore [--debug] [--git] [--hg] [--all] <source>
sub ignore($ifile, $pattern) {
    my $res = find(:dir<.>, :name($ifile));
    given $res.elems {
        when 1 {
            log $res[0].fmt('found single ignore file at %s');
            if analyze( $res[0], $pattern ) { log 'this file is already in ignore file'; }
            else {
                log 'adding new node to ignore file';
                f $res[0], :a, { .say( $pattern ); }

About

automate adding stuff to .XXXignore files

Resources

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages

  • Other 100.0%
You can’t perform that action at this time.