aah/Makefile

11 lines
311 B
Makefile
Raw Normal View History

2023-08-07 07:43:50 +00:00
generate_entities:
sea generate entity --database-url sqlite:test.db -o entity/src --lib --with-serde both
migrate:
rm -f test.db
touch test.db
cargo run -p migration
make generate_entities
test:
curl -v -X POST http://localhost:4000/upload -u "root:hellosu" -F name=hello -F config=@examples/codimd.yml