Test submodules (#6)

* Testing out submodule.

* Fixing translation path.
This commit is contained in:
Dessalines 2020-09-10 15:22:21 -04:00 committed by GitHub
parent 1ab6f90599
commit edcffbbf4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

4
.gitmodules vendored Normal file
View file

@ -0,0 +1,4 @@
[submodule "lemmy-translations"]
path = lemmy-translations
url = https://github.com/lemmynet/lemmy-translations
branch = main

View file

@ -1,6 +1,6 @@
fs = require('fs');
let translationDir = 'translations/';
let translationDir = 'lemmy-translations/translations/';
let outDir = 'src/shared/translations/';
fs.mkdirSync(outDir, { recursive: true });
fs.readdir(translationDir, (err, files) => {

1
lemmy-translations Submodule

@ -0,0 +1 @@
Subproject commit 835b932ac37354e8fb0f716700e212c14a672254