Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
4744e6bb
Commit
4744e6bb
authored
Jul 16, 2020
by
Robert Czechowski
Browse files
Move doc generation to Makefile
parent
1c780ac3
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4744e6bb
...
@@ -30,8 +30,7 @@ clippy:
...
@@ -30,8 +30,7 @@ clippy:
documentation
:
documentation
:
stage
:
build
stage
:
build
script
:
script
:
-
cargo doc --no-deps
-
make doc
-
echo '<meta http-equiv="refresh" content="0; url=medal">' > target/doc/index.html
only
:
only
:
-
master
-
master
...
...
Makefile
View file @
4744e6bb
...
@@ -25,3 +25,6 @@ clippy: src/db_conn_postgres.rs
...
@@ -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
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
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment