Add lint github action (#2473)

This commit is contained in:
pajlada
2021-02-21 14:45:42 +01:00
committed by GitHub
parent 714048a29e
commit e015013773
10 changed files with 207 additions and 128 deletions
+7 -3
View File
@@ -1,15 +1,18 @@
# Building on macOS
#### Note - If you want to develop Chatterino 2 you will also need to install Qt Creator (make sure to install **Qt 5.12 or newer**)
#### Note - Chatterino 2 is only tested on macOS 10.14 and above - anything below that is considered unsupported. It may or may not work on earlier versions
1. Install Xcode and Xcode Command Line Utilites
2. Start Xcode, settings -> Locations, activate your Command Line Tools
3. Install brew https://brew.sh/
4. `brew install boost openssl rapidjson`
5. `brew install qt`
6. Step 5 should output some directions to add qt to your path, you will need to do this for qmake
5. Go into project directory
6. Create build folder `mkdir build && cd build`
7. `qmake .. && make`
7. Go into project directory
8. Create build folder `mkdir build && cd build`
9. `qmake .. && make`
If the Project does not build at this point, you might need to add additional Paths/Libs, because brew does not install openssl and boost in the common path. You can get their path using
@@ -17,6 +20,7 @@ If the Project does not build at this point, you might need to add additional Pa
`brew info boost`
If brew doesn't link openssl properly then you should be able to link it yourself using those two commands:
- `ln -s /usr/local/opt/openssl/lib/* /usr/local/lib`
- `ln -s /usr/local/opt/openssl/include/openssl /usr/local/include/openssl`