mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 11:51:13 +00:00
Test submodules (#6)
* Testing out submodule. * Fixing translation path.
This commit is contained in:
parent
1ab6f90599
commit
edcffbbf4b
3 changed files with 6 additions and 1 deletions
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[submodule "lemmy-translations"]
|
||||
path = lemmy-translations
|
||||
url = https://github.com/lemmynet/lemmy-translations
|
||||
branch = main
|
|
@ -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
1
lemmy-translations
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 835b932ac37354e8fb0f716700e212c14a672254
|
Loading…
Reference in a new issue