Merge pull request #895 from matrix-org/ben-add-editoconfig

build: Adding .editorconfig
This commit is contained in:
Benjamin Kampmann
2022-08-01 15:23:58 +02:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

6
.editorconfig Normal file
View File

@@ -0,0 +1,6 @@
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

View File

@@ -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'