Skip to content

Commit

Permalink
add status
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Apr 18, 2024
1 parent 3e4b121 commit 3d08ec7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions github
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,24 @@ if(($ARGV[0]||'') eq 'checkout')
system('git','clone',"https://github.com/JOSM/$plugin");
}
}
elsif(($ARGV[0]||'') eq 'status')
{
my $dir = cwd();
for my $plugin (<$file>)
{
print($plugin);
chomp($plugin);
chdir($plugin);
system('git','status',$plugin);
chdir($dir);
}
}
else
{
my $dir = cwd();
for my $plugin (<$file>)
{
print($plugin);
chomp($plugin);
chdir($plugin);
system('git','pull');
Expand Down

0 comments on commit 3d08ec7

Please sign in to comment.