mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-02-04 13:03:14 +07:00
Add cmd/datdump/main.go (#3213)
* Feat: add a new datdump tool * Refactor: address code review comments * Refactor: remove export all from main program use datdump instead * Refactor: allow spaces in exportlists e.g. `--exportlists="lista, listb"` * all: cleanup * apply review suggestion --------- Co-authored-by: database64128 <free122448@hotmail.com>
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -36,7 +36,8 @@ jobs:
|
||||
- name: Build dlc.dat and plain lists
|
||||
run: |
|
||||
cd code || exit 1
|
||||
go run ./ --outputdir=../ --exportlists=_all_,category-ads-all,tld-cn,cn,tld-\!cn,geolocation-\!cn,apple,icloud
|
||||
go run ./ --outputdir=../ --exportlists=category-ads-all,tld-cn,cn,tld-\!cn,geolocation-\!cn,apple,icloud
|
||||
go run ./cmd/datdump/main.go --inputdata=../dlc.dat --outputdir=../ --exportlists=_all_
|
||||
cd ../ && rm -rf code
|
||||
|
||||
- name: Generate dlc.dat sha256 hash
|
||||
|
||||
Reference in New Issue
Block a user