Skip to content

Commit 587cf37

Browse files
committed
update cruft
1 parent bfe72ca commit 587cf37

File tree

8 files changed

+98
-2
lines changed

8 files changed

+98
-2
lines changed

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ CheckOptions:
5151
readability-identifier-naming.NamespaceCase: lower_case
5252
readability-identifier-naming.ParameterCase: lower_case
5353
readability-identifier-naming.VariableCase: lower_case
54+
55+
readability-identifier-length.IgnoredVariableNames: _
5456
---

.cruft.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "[email protected]:bl-sdk/common_dotfiles.git",
3-
"commit": "6b31480199099e9957b18918373a75d979951919",
3+
"commit": "cee5c9dbf5b95f57bb636e5138171aa6a4964cf1",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -15,7 +15,8 @@
1515
"__project_slug": "unrealsdk",
1616
"include_cpp": true,
1717
"include_py": false,
18-
"_template": "[email protected]:bl-sdk/common_dotfiles.git"
18+
"_template": "[email protected]:bl-sdk/common_dotfiles.git",
19+
"_commit": "cee5c9dbf5b95f57bb636e5138171aa6a4964cf1"
1920
}
2021
},
2122
"directory": null

.devcontainer/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ignore any custom folders outside of our predefined ones, to let you create your own
2+
# One use might be using your own container mapping the install path onto your actual game folder
3+
*/
4+
!clang-cross
5+
!llvm-mingw
6+
!mingw

.devcontainer/Dockerfile

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
FROM alpine:latest AS clang-cross
2+
CMD ["/bin/bash"]
3+
RUN <<EOF
4+
apk add --no-cache \
5+
bash \
6+
clang \
7+
clang-extra-tools \
8+
cmake \
9+
git \
10+
lld \
11+
llvm \
12+
msitools \
13+
ninja \
14+
openssh \
15+
perl \
16+
python3 \
17+
py3-requests
18+
git clone https://github.com/mstorsjo/msvc-wine.git
19+
msvc-wine/vsdownload.py \
20+
--accept-license \
21+
--dest /win-sdk \
22+
Microsoft.VisualStudio.Workload.VCTools \
23+
--arch x86 x64
24+
msvc-wine/install.sh /win-sdk
25+
rm -r msvc-wine
26+
EOF
27+
28+
# llvm-mingw comes with pre-built ubuntu binaries, so using that
29+
FROM ubuntu:latest AS llvm-mingw
30+
CMD ["/bin/bash"]
31+
RUN <<EOF
32+
apt-get update
33+
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
34+
apt-get install -y \
35+
cmake \
36+
git \
37+
msitools \
38+
ninja-build \
39+
python-is-python3 \
40+
python3 \
41+
python3-requests \
42+
wget \
43+
xz-utils
44+
wget -nv https://github.com/mstorsjo/llvm-mingw/releases/download/20250114/llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
45+
tar -xf llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
46+
rm llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64.tar.xz
47+
mv llvm-mingw-20250114-msvcrt-ubuntu-20.04-x86_64 /llvm-mingw
48+
EOF
49+
ENV PATH="/llvm-mingw/bin:$PATH"
50+
51+
FROM alpine:latest AS mingw
52+
CMD ["/bin/bash"]
53+
RUN <<EOF
54+
apk add --no-cache \
55+
bash \
56+
cmake \
57+
git \
58+
i686-mingw-w64-gcc \
59+
mingw-w64-gcc \
60+
msitools \
61+
ninja \
62+
openssh \
63+
py3-requests \
64+
python3
65+
EOF
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "clang-cross",
3+
"build": {
4+
"dockerfile": "../Dockerfile",
5+
"target": "clang-cross"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "llvm-mingw",
3+
"build": {
4+
"dockerfile": "../Dockerfile",
5+
"target": "llvm-mingw"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "mingw",
3+
"build": {
4+
"dockerfile": "../Dockerfile",
5+
"target": "mingw"
6+
}
7+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vs
22
.vscode
3+
.idea
34

45
# C/C++ excludes
56
.cache/clangd

0 commit comments

Comments
 (0)