pre-commit / fix simple file trailing things
This commit is contained in:
		| @@ -5,3 +5,7 @@ repos: | ||||
|     -   id: check-yaml | ||||
|     -   id: end-of-file-fixer | ||||
|     -   id: trailing-whitespace | ||||
| # - repo: https://github.com/pocc/pre-commit-hooks | ||||
| #   rev: master | ||||
| #   hooks: | ||||
| #   - id: clang-format | ||||
|   | ||||
							
								
								
									
										59
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										59
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,59 +0,0 @@ | ||||
| language: bash | ||||
|  | ||||
| # See https://github.com/amaiorano/vectrexy/blob/master/.travis.yml | ||||
| # for ideas on installing vcpkg | ||||
|  | ||||
| matrix: | ||||
|   include: | ||||
|     # macOS | ||||
|     # - os: osx | ||||
|     #   env: | ||||
|     #     - HOMEBREW_NO_AUTO_UPDATE=1 | ||||
|     #   compiler: clang | ||||
|     #   script: | ||||
|     #     - brew install redis | ||||
|     #     - brew services start redis | ||||
|     #     - brew install mbedtls | ||||
|     #     - python test/run.py | ||||
|     #     - make ws | ||||
|  | ||||
|     Linux | ||||
|     - os: linux | ||||
|       dist: bionic | ||||
|       before_install: | ||||
|         - sudo apt-get install -y libmbedtls-dev | ||||
|         - sudo apt-get install -y redis-server | ||||
|       script:  | ||||
|       - python test/run.py | ||||
|       #  - make ws | ||||
|       env: | ||||
|         - CC=gcc | ||||
|         - CXX=g++ | ||||
|  | ||||
|     # Clang + Linux disabled for now | ||||
|     # - os: linux | ||||
|     #   dist: xenial | ||||
|     #   script: python test/run.py | ||||
|     #   env: | ||||
|     #     - CC=clang  | ||||
|     #     - CXX=clang++ | ||||
|  | ||||
|     # Windows | ||||
|     # - os: windows | ||||
|     #   env: | ||||
|     #     - CMAKE_PATH="/c/Program Files/CMake/bin" | ||||
|     #   script:  | ||||
|     #     - cd third_party/zlib | ||||
|     #     - cmake . | ||||
|     #     - cmake --build . --target install | ||||
|     #     - cd ../.. | ||||
|     #     # - cd third_party/mbedtls | ||||
|     #     # - cmake . | ||||
|     #     # - cmake --build . --target install | ||||
|     #     # - cd ../.. | ||||
|     #     - export PATH=$CMAKE_PATH:$PATH | ||||
|     #     - cd test | ||||
|     #     - cmake . | ||||
|     #     - cmake --build --parallel . | ||||
|     #     - ixwebsocket_unittest.exe | ||||
|     #     # - python test/run.py | ||||
| @@ -73,5 +73,3 @@ Here is a simplistic diagram which explains how the code is structured in term o | ||||
| |                       | | ||||
| +-----------------------+ | ||||
| ``` | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -465,4 +465,3 @@ For a client, specifying `caFile` can be used if connecting to a server that use | ||||
| For a server, specifying `caFile` implies that: | ||||
| 1. You require clients to present a certificate | ||||
| 1. It must be signed by one of the trusted roots in the file | ||||
|  | ||||
|   | ||||
| @@ -47,4 +47,3 @@ else() | ||||
|     target_link_libraries(ixcrypto ${OPENSSL_LIBRARIES}) | ||||
|     target_compile_definitions(ixcrypto PUBLIC IXCRYPTO_USE_OPEN_SSL) | ||||
| endif() | ||||
|  | ||||
|   | ||||
| @@ -14993,4 +14993,3 @@ using Catch::Detail::Approx; | ||||
| // end catch_reenable_warnings.h | ||||
| // end catch.hpp | ||||
| #endif // TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED | ||||
|  | ||||
|   | ||||
| @@ -33,4 +33,3 @@ start_server = websockets.serve(echo, host, 8766, max_size=2 ** 30) | ||||
|  | ||||
| asyncio.get_event_loop().run_until_complete(start_server) | ||||
| asyncio.get_event_loop().run_forever() | ||||
|  | ||||
|   | ||||
| @@ -39,5 +39,3 @@ start_server = websockets.serve(echo, host, 8766, max_size=2 ** 30, ssl=ssl_cont | ||||
|  | ||||
| asyncio.get_event_loop().run_until_complete(start_server) | ||||
| asyncio.get_event_loop().run_forever() | ||||
|  | ||||
|  | ||||
|   | ||||
							
								
								
									
										4
									
								
								third_party/.clang-format
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								third_party/.clang-format
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| { | ||||
|     "DisableFormat": true, | ||||
|     "SortIncludes": false | ||||
| } | ||||
		Reference in New Issue
	
	Block a user