Add helper script to generate the code

This commit is contained in:
moznion
2020-11-25 22:25:15 +09:00
parent 6e6412acc3
commit 30daa6839d
2 changed files with 18 additions and 3 deletions
+1 -3
View File
@@ -2,6 +2,4 @@ build:
cargo build
gen:
cat /dev/null > $(PWD)/src/rfc2865.rs
cargo run --bin code_gen $(PWD)/dicts/dictionary.rfc2865 $(PWD)/src/rfc2865.rs
cargo fmt
bash ./scripts/generate_code.sh