diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..dab27a5 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,20 @@ +shallow_clone: true + +os: + - Visual Studio 2015 + +environment: + matrix: + - TOOLSET: vs2013 + - TOOLSET: vs2015 + +configuration: + - Debug + - Release + +install: + - git clone https://github.com/bkaradzic/bx ..\bx + - ..\bx\tools\bin\windows\genie --with-tools %TOOLSET% + +build: + project: .build/projects/$(TOOLSET)/bimg.sln diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4fa1895 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +end_of_line = lf +max_line_length = 100 +insert_final_newline = true +trim_trailing_whitespace = true + +[include/bgfx/c99/*.h] +indent_style = space + +[*.ninja] +indent_style = space + +[*.md] +trim_trailing_whitespace = false +max_line_length = 80 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e89cf41 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +*.c eol=lf +*.cpp eol=lf +*.h eol=lf +*.sc eol=lf +*.sh eol=lf +*.m eol=lf +*.mm eol=lf +*.md eol=lf +*.lua eol=lf +*.mk eol=lf +makefile eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f3804e --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.build +.debug +.DS_Store +.git +.svn +tags +.gdb_history diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9ca3a5c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: cpp +matrix: + include: + - compiler: gcc + os: linux + - compiler: clang + os: osx + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + - clang + +before_script: + git clone https://github.com/bkaradzic/bx ../bx + +script: + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make build CXX="g++-4.8" CC="gcc-4.8"; fi + - if [ "$TRAVIS_OS_NAME" == "osx" ]; then make build; fi + +branches: + only: + - master + +notifications: + email: false + +osx_image: xcode7.3