aah/Makefile
2023-08-07 02:43:50 -05:00

11 lines
No EOL
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