Suppress error message when clean.sh is run twice in a row, more preparations for submodule split of ap/
parent
d5d1f02390
commit
0733bc7664
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm src.a
|
[[ -f src.a ]] && rm src.a
|
||||||
find ./ -type f | grep -E '\.o$' | xargs -I'{}' rm '{}'
|
find ./ -type f | grep -E '\.o$' | xargs -I'{}' rm '{}'
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "object.h"
|
|
||||||
|
|
@ -1,19 +1,13 @@
|
|||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include "activity.h"
|
#include "object.h"
|
||||||
#include "activity/context.h"
|
#include "object/context.h"
|
||||||
|
#include "object/rsa_signature_2017.h"
|
||||||
|
|
||||||
|
// Submodules
|
||||||
#include "ffdb/fs_list.h"
|
#include "ffdb/fs_list.h"
|
||||||
#include "collections/array.h"
|
#include "collections/array.h"
|
||||||
#include "format.h"
|
#include "format.h"
|
||||||
|
|
||||||
#include "model/server.h"
|
|
||||||
#include "model/account.h"
|
|
||||||
#include "model/status.h"
|
|
||||||
#include "model/emoji.h"
|
|
||||||
#include "model/media.h"
|
|
||||||
//#include "model/ap/outbox_envelope.h"
|
|
||||||
#include "activity/rsa_signature_2017.h"
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
@ -1,4 +1,4 @@
|
|||||||
#include "../activity.h"
|
#include "../object.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
@ -1,4 +1,4 @@
|
|||||||
#include "../activity.h"
|
#include "../object.h"
|
||||||
|
|
||||||
#include "json/layout.h"
|
#include "json/layout.h"
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
#include "../../activity.h"
|
#include "../../object.h"
|
||||||
|
|
||||||
#define OBJ_TYPE struct ap_object
|
#define OBJ_TYPE struct ap_object
|
||||||
static struct json_object_field capabilities_layout[] = {
|
static struct json_object_field capabilities_layout[] = {
|
@ -1,4 +1,4 @@
|
|||||||
#include "../../activity.h"
|
#include "../../object.h"
|
||||||
|
|
||||||
#include "json/json.h"
|
#include "json/json.h"
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
#include "../../activity.h"
|
#include "../../object.h"
|
||||||
|
|
||||||
#define OBJ_TYPE struct ap_object
|
#define OBJ_TYPE struct ap_object
|
||||||
static struct json_object_field endpoints_layout[] = {
|
static struct json_object_field endpoints_layout[] = {
|
@ -1,4 +1,4 @@
|
|||||||
#include "../../activity.h"
|
#include "../../object.h"
|
||||||
|
|
||||||
#define OBJ_TYPE struct ap_object
|
#define OBJ_TYPE struct ap_object
|
||||||
static struct json_object_field image_layout[] = {
|
static struct json_object_field image_layout[] = {
|
@ -1,4 +1,4 @@
|
|||||||
#include "../../activity.h"
|
#include "../../object.h"
|
||||||
|
|
||||||
static struct json_enum ap_signature_type_enum[] = {
|
static struct json_enum ap_signature_type_enum[] = {
|
||||||
{ "RsaSignature2017", 1 },
|
{ "RsaSignature2017", 1 },
|
@ -1,7 +1,7 @@
|
|||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include "rsa_signature_2017.h"
|
#include "rsa_signature_2017.h"
|
||||||
|
|
||||||
#include "../activity.h"
|
#include "../object.h"
|
||||||
|
|
||||||
// TODO: figure out how to remove this dependency
|
// TODO: figure out how to remove this dependency
|
||||||
#include "model/crypto/keys.h"
|
#include "model/crypto/keys.h"
|
Loading…
Reference in new issue