Updated .gitlab-ci.yml
This commit is contained in:
parent
23fb297200
commit
f635f60ad8
@ -60,26 +60,16 @@ test:nightly:
|
|||||||
# Exits and builds fails if on bad format
|
# Exits and builds fails if on bad format
|
||||||
lint:rustfmt:
|
lint:rustfmt:
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
before_script:
|
|
||||||
- apt-get update -yqq
|
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
|
||||||
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev
|
|
||||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
|
||||||
- which rustfmt || cargo install rustfmt-nightly
|
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
|
- cargo install rustfmt-nightly
|
||||||
- cargo fmt --all -- --write-mode=diff
|
- cargo fmt --all -- --write-mode=diff
|
||||||
|
|
||||||
# Configure and run clippy on nightly
|
# Configure and run clippy on nightly
|
||||||
# Only fails on errors atm.
|
# Only fails on errors atm.
|
||||||
lint:clippy:
|
lint:clippy:
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
before_script:
|
|
||||||
- apt-get update -yqq
|
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
|
||||||
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev
|
|
||||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
|
||||||
- which rustfmt || cargo install clippy
|
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
|
- cargo install clippy
|
||||||
- cargo clippy --all
|
- cargo clippy --all
|
||||||
|
|||||||
7
TODO.md
7
TODO.md
@ -33,13 +33,6 @@
|
|||||||
- [ ] Fix Etag/Last-modified implementation. [#2](https://gitlab.gnome.org/alatiera/Hammond/issues/2)
|
- [ ] Fix Etag/Last-modified implementation. [#2](https://gitlab.gnome.org/alatiera/Hammond/issues/2)
|
||||||
|
|
||||||
|
|
||||||
**Look into:**
|
|
||||||
|
|
||||||
- [x] Icons && install stuff && flatpak
|
|
||||||
|
|
||||||
* Neither flatpak nor meson support atm building from cargo.
|
|
||||||
|
|
||||||
|
|
||||||
**DB changes:**
|
**DB changes:**
|
||||||
|
|
||||||
- [x] episodes: add watched field
|
- [x] episodes: add watched field
|
||||||
|
|||||||
3
configure
vendored
3
configure
vendored
@ -1,7 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Adapted from:
|
# Adapted from:
|
||||||
# https://gitlab.gnome.org/danigm/libgepub/blob/27f0d374e0c8f6fa972dbd111d4ce0c0f3096914/configure_meson
|
# https://gitlab.gnome.org/danigm/libgepub/blob/27f0d374e0c8f6fa972dbd111d4ce0c0f3096914/configure_meson
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
# configure script adapter for Meson
|
# configure script adapter for Meson
|
||||||
# Based on build-api: https://github.com/cgwalters/build-api
|
# Based on build-api: https://github.com/cgwalters/build-api
|
||||||
# Copyright 2010, 2011, 2013 Colin Walters <walters@verbum.org>
|
# Copyright 2010, 2011, 2013 Colin Walters <walters@verbum.org>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user