From c15a4bcdd46ec99adeb4d9046d483601fc8754ff Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 1 Aug 2022 14:33:05 +0200 Subject: [PATCH 1/2] build: Adding .editorconfig --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..dddb23dbe --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true From 5089c1a7e91a99af8ecfa94b37524c8337b12eed Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 1 Aug 2022 14:56:26 +0200 Subject: [PATCH 2/2] ci(docs): force npm generated bindings if existing --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 5cba9feff..7fb7fdf16 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -58,8 +58,8 @@ jobs: run: | mkdir -p target/docs/bindings/matrix-sdk-crypto-nodejs/ mkdir -p target/docs/bindings/matrix-sdk-crypto-js/ - mv bindings/matrix-sdk-crypto-nodejs/docs/* target/docs/bindings/matrix-sdk-crypto-nodejs/ - mv bindings/matrix-sdk-crypto-js/docs/* target/docs/bindings/matrix-sdk-crypto-js/ + mv -f bindings/matrix-sdk-crypto-nodejs/docs/* target/docs/bindings/matrix-sdk-crypto-nodejs/ + mv -f bindings/matrix-sdk-crypto-js/docs/* target/docs/bindings/matrix-sdk-crypto-js/ - name: Deploy documentation if: github.event_name == 'push' && github.ref == 'refs/heads/main'