Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.65 KB

GENERATING.md

File metadata and controls

53 lines (42 loc) · 1.65 KB

🏗️ Generating

dart run git_stamp

Caution

Generating requires the use of the git command-line interface (CLI).

1. Examples

Build type Can encrypt CLI Command
FULL YES dart run git_stamp --build-type full --adding-packages disabled --encrypt
LITE YES dart run git_stamp
ICON NO dart run git_stamp --build-type icon
CUSTOM NO dart run git_stamp --gen-only build-branch,build-date-time

2. Custom gen-only parameters

# Parameter
1 commit-list
2 diff-list
3 diff-stat-list
4 repo-creation-date
5 build-branch
6 build-date-time
7 build-system-info
8 build-machine
9 repo-path
10 observed-files-list
11 app-version
12 app-build
13 app-name
14 git-config
15 git-remote
16 git-remote-list
17 git-tag-list
18 git-branch-list
19 git-reflog

3. Optimization

Commit limit --limit 100 .

For LITE & FULL encrypted versions, disabling adding a package --adding-packages disabled .

dart run git_stamp --benchmark