Skip to content

Commit

Permalink
Merge pull request #79 from matty0ung/json4
Browse files Browse the repository at this point in the history
More work on BeerJSON.  Now seems broadly complete - in as much as we can export a recipe and reimport it without data loss.  Still a bit more tidying up to do.
  • Loading branch information
matty0ung authored Mar 31, 2024
2 parents c15d60a + 2d024b7 commit a9ad4b2
Show file tree
Hide file tree
Showing 493 changed files with 93,288 additions and 38,404 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
#
# Tried to install MacPorts from the bt script, but get errors running its configure script, so trying from GitHub
# actions.
#
- uses: melusina-org/setup-macports@v1

#
# The `brew doctor` command just checks that Homebrew (https://brew.sh/) is installed OK (expected output is "Your
Expand All @@ -53,7 +58,7 @@ jobs:
run: |
echo "Output from brew doctor: $(brew doctor)"
echo "Output from xcode-select -p: $(xcode-select -p)"
brew install python@3.11
brew install python@3.12
echo "Python3 ($(which python3)) version"
/usr/bin/env python3 --version
echo "Running ./bt -v setup all"
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------------------------------------------------
# .github/workflows/windows.yml is part of Brewken, and is copyright the following authors 2021-2023:
# .github/workflows/windows.yml is part of Brewken, and is copyright the following authors 2021-2024:
# • Artem Martynov <[email protected]>
# • Chris Speck <[email protected]>
# • Mattias Måhl <[email protected]>
Expand Down Expand Up @@ -41,9 +41,14 @@ jobs:
fail-fast: false
matrix:
include: [
# Current installer NSIS with required plugins don't support x64 package
#{ msystem: MINGW64, arch: x86_64 },
{ msystem: MINGW32, arch: i686 }
# In the past, we built only 32-bit packages (i686 architecture) on Windows because of problems getting 64-bit
# versions of NSIS plugins to work. However, we now invoke NSIS without plugins, so the 64-bit build seems to
# be working.
#
# As of January 2024, some of the 32-bit MSYS2 packages/groups we were previously relying on previously are no
# longer available. So now, we only build 64-bit packages (x86_64 architecture) on Windows.
{ msystem: MINGW64, arch: x86_64 },
#{ msystem: MINGW32, arch: i686 }
]
steps:

Expand Down Expand Up @@ -159,9 +164,6 @@ jobs:
./configure
cd build
rm CMakeCache.txt
cp ./nsis/Locate/Include/Locate.nsh /mingw32/share/nsis/Include/
cp ./nsis/Locate/Plugin/locate.dll /mingw32/share/nsis/Plugins/ansi/
cp ./nsis/Nsislog/plugin/nsislog.dll /mingw32/share/nsis/Plugins/ansi
cmake .. -DCMAKE_RC_COMPILER:FILEPATH=windres.exe -G "MinGW Makefiles"
# The pwd and find ../third-party commands below are just diagnostics, but it's generally useful to have too
Expand Down
721 changes: 11 additions & 710 deletions CMakeLists.txt

Large diffs are not rendered by default.

194 changes: 101 additions & 93 deletions brewken.qrc

Large diffs are not rendered by default.

259 changes: 190 additions & 69 deletions bt

Large diffs are not rendered by default.

File renamed without changes.
Loading

0 comments on commit a9ad4b2

Please sign in to comment.