aah/Makefile

11 lines
311 B
Makefile

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