Skip to content

Commit

Permalink
Remove unneeded grep test code+option.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 20, 2023
1 parent 5dc3cfd commit 5148264
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions Jamroot.jam
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,6 @@

require-b2 5 ;

if --grep in [ modules.peek : ARGV ]
{
import path ;
import regex ;
local mmm = [ regex.grep
/home/grafik/Sync/DevRoots
# /home/grafik/Sync/DevRoots/B2/bfg-mainline/src
# /home/grafik/Sync/DevRoots/Boost/develop/boost
# /home/grafik/Sync/DevRoots/grafikrobot/llvm-project
: *.*pp *.h
: "#(include) \"([^\"]+)\"" "#(include) <([^>]+)>"
: 1 2
: recursive ] ;
mmm = $(mmm[1-30]) ;
while $(mmm)
{
ECHO ">" $(mmm[1]) $(mmm[2]) $(mmm[3]) ;
mmm = $(mmm[4-]) ;
}
EXIT "!" ;
# time ( rg -j 11 --mmap -U --files-without-match --include-zero -I -c -g "*.*pp" -g "*.h" -e "#(include) \"([^\"]+)\"" -e "#(include) <([^>]+)>" /home/grafik/Sync/DevRoots | wc -l )
# --no-mmap
}

import "class" : new ;
import bison ;
import errors ;
Expand Down

0 comments on commit 5148264

Please sign in to comment.