Meta files

master
Mark 2022-12-27 13:20:23 -08:00
parent 0d99adf288
commit 2bf3317bf5
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
3 changed files with 34 additions and 4 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
# The docker container places firmware
# in this directory
output output
# Secret information that shouldn't be
# added to git.
secrets.h secrets.h

20
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
//"files.exclude": {
// "**/.build": true,
// "**/*.hex": true,
// "**/*.bin": true,
// "**/*.uf2": true
//},
"files.associations": {
"*.h": "c",
"*.c": "c",
"*.inc": "c",
"*.cpp": "cpp",
"*.hpp": "cpp",
"xstddef": "c",
"type_traits": "c",
"utility": "c",
"ranges": "c"
},
"C_Cpp.errorSquiggles": "disabled",
}

View File

@ -1,13 +1,19 @@
#!/bin/bash #!/bin/bash
# Uses the qmk container found here: # Uses the docker container defined in
# https://git.betalupi.com/Mark/docker # the `docker` directory of this repo.
# Run from the root directory of this repo.
# Targets in this repo:
# betalupi_ergodox:default
# ergodox_ez/glow:default
# #
# Be careful, it may not be using the latest QMK. # Usage:
# bash build.sh betalupi_ergodox:default
docker run -it --rm \ docker run -it --rm \
--user $(id -u):$(id -g) \ --user $(id -u):$(id -g) \
-v "$(pwd)/output:/build_output" \ -v "$(pwd)/output:/build_output" \
-v "$(pwd)/keyboards:/qmk_firmware/keyboards:ro" \ -v "$(pwd)/keyboards:/qmk_firmware/keyboards:ro" \
-e QMK_TARGET="betalupi_ergodox:default" \ -e QMK_TARGET="$1" \
git.betalupi.com/mark/qmk git.betalupi.com/mark/qmk