From 2293cf346bf451e62cc867cf1dfea4cd20b62c40 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 12 Feb 2019 02:13:29 +0100 Subject: [PATCH] Readme erweitert, xdgjson aktualisiert --- README.adoc | 16 +++++++++++++--- feiertagebot.cpp | 2 +- xdgjson | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 74d464f..ae804c3 100644 --- a/README.adoc +++ b/README.adoc @@ -10,7 +10,17 @@ Deutschland informiert. Die daten stammen von https://feiertage-api.de/. Gentoo ebuilds gibt es in meinem https://schlomp.space/tastytea/overlay[repository]. -=== Abhängigkeiten +=== Vom Quellcode + +==== Klone den quellcode mit git + +[source,sh] +---- +git clone https://schlomp.space/tastytea/feiertagebot.git +git submodule init +---- + +==== Installiere abhängigkeiten * C++ compiler * https://cmake.org/[cmake] (mindestens 3.2) @@ -19,9 +29,9 @@ https://schlomp.space/tastytea/overlay[repository]. * https://github.com/open-source-parsers/jsoncpp[jsoncpp] (getested: 1.8) * https://schlomp.space/tastytea/mastodon-cpp[mastodon-cpp] (mindestens 0.30.1) -=== Kompilieren +==== Kompilieren -[source,shell] +[source,sh] ---- mkdir build cd build diff --git a/feiertagebot.cpp b/feiertagebot.cpp index c38d043..39853f3 100644 --- a/feiertagebot.cpp +++ b/feiertagebot.cpp @@ -87,7 +87,7 @@ const string get_token(const string &instance) ret = masto.register_app1("feiertagebot", "urn:ietf:wg:oauth:2.0:oob", "write:statuses", - "", + "https://schlomp.space/tastytea/feiertagebot", client_id, client_secret, url); diff --git a/xdgjson b/xdgjson index 1a10ef6..ffb0438 160000 --- a/xdgjson +++ b/xdgjson @@ -1 +1 @@ -Subproject commit 1a10ef6686a34b7170f52490b7b9841da4476a2c +Subproject commit ffb04387769cd4be633a2a350c3af73e15f5faf4