From 950aa56c352527c43d90b96c7ad4683b69b383d4 Mon Sep 17 00:00:00 2001 From: terik23 Date: Fri, 6 Apr 2018 02:30:39 +0500 Subject: [PATCH] clean-up --- .gitignore | 2 ++ .travis.yml | 1 + appveyor.yml | 1 + build/.gitignore | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 build/.gitignore diff --git a/.gitignore b/.gitignore index 69a35d9..8b8a469 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +build/ + ### cpp gitignore ### # Prerequisites *.d diff --git a/.travis.yml b/.travis.yml index 5537aa5..256a6e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ env: - PLATFORM=x64 CONFIGURATION=Release script: + - rm -rf build - mkdir -p build - cd build - cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM diff --git a/appveyor.yml b/appveyor.yml index e439a17..22771ca 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,6 +27,7 @@ init: before_build: - ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta' + - if exist build RMDIR /S /Q build - if not exist build mkdir build - cd build - if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index f59ec20..0000000 --- a/build/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file