-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: adding tools to the maintenance code target
- Loading branch information
1 parent
5d853b5
commit a93cc66
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ LABEL maintainer="[email protected]" | |
|
||
# Install Additional Software | ||
## install: git | ||
RUN apk --no-cache add git python3 make g++ | ||
RUN apk --no-cache add git python3 make g++ bash jq | ||
|
||
# Settings | ||
## Expose Container Port | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ LABEL maintainer="[email protected]" | |
|
||
# Install Additional Software | ||
## install: git | ||
RUN apk --no-cache add git python3 make g++ | ||
RUN apk --no-cache add git python3 make g++ bash jq | ||
|
||
# Settings | ||
## Expose Container Port | ||
|
@@ -69,6 +69,7 @@ COPY static static | |
COPY constants constants | ||
COPY nuxt.config.js nuxt.config.js | ||
COPY config/ config/ | ||
COPY tools/ tools/ | ||
|
||
# this is needed in rebranding | ||
COPY maintenance/nginx maintenance/nginx | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
for locale in `ls locales/*.json`; | ||
do | ||
file=$(basename $locale); | ||
if [ -f locales/tmp/$file ]; then | ||
jq -s '.[0] * .[1]' $locale locales/tmp/$file > locales/tmp/tmp.json; | ||
mv locales/tmp/tmp.json $locale; | ||
fi; | ||
done; | ||
|
||
rm -r locales/tmp/ |