Initial draft of README.md
This commit is contained in:
parent
51c1391d7d
commit
b17f9eb89b
@ -3,7 +3,7 @@
|
|||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
- apt-get install -yqq --no-install-recommends build-essential
|
||||||
- apt-get install -y libgtk-3-dev
|
- apt-get install -yqq libgtk-3-dev
|
||||||
|
|
||||||
# kcov
|
# kcov
|
||||||
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
# - apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
||||||
@ -13,14 +13,14 @@ before_script:
|
|||||||
|
|
||||||
test:stable:
|
test:stable:
|
||||||
# Stable img
|
# Stable img
|
||||||
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust"
|
image: "rust"
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo build --all
|
- cargo build --all
|
||||||
# - cargo test --all --verbose
|
- cargo test --all --verbose
|
||||||
- cargo test --all --verbose --jobs 1
|
# - cargo test --all --verbose --jobs 1
|
||||||
|
|
||||||
# Use cargo to test the project
|
|
||||||
test:nightly:
|
test:nightly:
|
||||||
# Nightly
|
# Nightly
|
||||||
# https://hub.docker.com/r/rustlang/rust/
|
# https://hub.docker.com/r/rustlang/rust/
|
||||||
@ -28,10 +28,9 @@ test:nightly:
|
|||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo build --all
|
- cargo build --all
|
||||||
# - cargo test --all --verbose
|
- cargo test --all --verbose
|
||||||
- cargo test --all --verbose --jobs 1
|
# - cargo test --all --verbose --jobs 1
|
||||||
# - cargo bench
|
# - cargo bench
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
# Configure and run rustfmt on nightly
|
# Configure and run rustfmt on nightly
|
||||||
# Exits and builds fails if on bad format
|
# Exits and builds fails if on bad format
|
||||||
@ -40,15 +39,12 @@ test:rustfmt:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
- apt-get install -yqq --no-install-recommends build-essential
|
||||||
- apt-get install -y libgtk-3-dev
|
- apt-get install -yqq libgtk-3-dev
|
||||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
- export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
- which rustfmt || cargo install rustfmt-nightly
|
- which rustfmt || cargo install rustfmt-nightly
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
- pwd
|
|
||||||
- ls -al
|
|
||||||
- cargo fmt --all -- --write-mode=diff
|
- cargo fmt --all -- --write-mode=diff
|
||||||
# allwo failure till it uses rustfmt.toml
|
|
||||||
|
|
||||||
# Configure and run clippy on nightly
|
# Configure and run clippy on nightly
|
||||||
test:clippy:
|
test:clippy:
|
||||||
@ -56,7 +52,7 @@ test:clippy:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
- apt-get install -yqq --no-install-recommends build-essential
|
||||||
- apt-get install -y libgtk-3-dev
|
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev
|
||||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
- export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
- which rustfmt || cargo install clippy
|
- which rustfmt || cargo install clippy
|
||||||
script:
|
script:
|
||||||
|
|||||||
39
README.md
Normal file
39
README.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Hammond
|
||||||
|
## Prototype of a multithreaded, safe, and reliable Gtk+ Podcast client.
|
||||||
|
Description...
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
Flatpak instructions...
|
||||||
|
|
||||||
|
## Dependancies:
|
||||||
|
|
||||||
|
* Rust stable 1.21 or later.
|
||||||
|
* Gtk+ 3.22 or later
|
||||||
|
|
||||||
|
**Debian/Ubuntu**:
|
||||||
|
```sh
|
||||||
|
apt-get update -yqq
|
||||||
|
apt-get install -yqq --no-install-recommends build-essential
|
||||||
|
apt-get install -yqq --no-install-recommends libgtk-3-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
**Fedora**:
|
||||||
|
```sh
|
||||||
|
dnf install -y gtk3-devel openssl-devel sqlite-devel
|
||||||
|
```
|
||||||
|
|
||||||
|
If you happen to build it on other distributions please let me know the names of the corresponding libraries. Feel free to open a PR or an Issue to note it.
|
||||||
|
|
||||||
|
## Building:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://gitlab.gnome.org/alatiera/Hammond.git
|
||||||
|
cd Hammond/
|
||||||
|
cargo run -p hammond-gtk --release
|
||||||
|
```
|
||||||
|
|
||||||
|
## Overview:
|
||||||
|
foo
|
||||||
|
|
||||||
|
## Contributing:
|
||||||
|
to be added: CONTRIBUTING.md
|
||||||
0
hammond.doap
Normal file
0
hammond.doap
Normal file
Loading…
Reference in New Issue
Block a user