Commit 4744e6bb authored by Robert Czechowski's avatar Robert Czechowski

Move doc generation to Makefile

parent 1c780ac3
......@@ -30,8 +30,7 @@ clippy:
documentation:
stage: build
script:
- cargo doc --no-deps
- echo '<meta http-equiv="refresh" content="0; url=medal">' > target/doc/index.html
- make doc
only:
- master
......
......@@ -25,3 +25,6 @@ clippy: src/db_conn_postgres.rs
src/db_conn_postgres.rs: src/db_conn_warning_header.txt src/db_conn_sqlite_new.header.rs src/db_conn_postgres.header.rs src/db_conn.base.rs
cd src; ./generate_connectors.sh
doc: src/db_conn_postgres.rs
cargo doc --no-deps
echo '<meta http-equiv="refresh" content="0; url=medal">' > target/doc/index.html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment