Skip to content

Commit c734991

Browse files
bit better.
1 parent ab8a9a5 commit c734991

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@
9090
"image": "ghcr.io/nhsdigital/nhs-notify-template-repository:latest",
9191
"mounts": [
9292
"source=${localEnv:HOME}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached",
93-
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
93+
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached",
94+
"source=/usr/local/share/ca-certificates,target=/home/ca-certificates,type=bind,consistency=cached"
9495
],
95-
"name": "Jekyll",
96+
"name": "NHS Notify Digital Letters",
9697
"postCreateCommand": "pipx install pre-commit && make config && echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc",
9798
"runArgs": [
9899
"--platform=linux/amd64"

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
**/.package-lock.json
1+
2+
**/.git
3+
**/.svn
4+
**/.hg
5+
**/node_modules
6+
**/package-lock.json
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
#!/bin/bash
22

3+
echo 'sorting certs'
4+
sudo cp -nr /home/ca-certificates/. /usr/local/share/ca-certificates
5+
sudo update-ca-certificates
6+
echo 'sorted certs'
7+
8+
echo 'asdf setup starting'
39
rm -Rf ~/.asdf
410
git clone https://github.com/asdf-vm/asdf.git ~/.asdf;
511
chmod +x ~/.asdf/asdf.sh;
612
echo '. $HOME/.asdf/asdf.sh' >> ~/.zshrc
713
echo '. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
8-
914
source ~/.zshrc
10-
1115
echo 'asdf setup complete'
1216

17+
echo 'make config starting'
1318
make config
19+
echo 'make config starting'
1420

21+
echo 'jekyll setup starting'
1522
jekyll --version && cd docs && bundle install
16-
1723
echo 'jekyll setup complete'

0 commit comments

Comments
 (0)