Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
make commands are supported on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Jun 23, 2017
1 parent bbd4a5d commit 9803e87
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Go client for Pilosa high performance distributed bitmap index.

## Change Log

* **Next**:
* *make* commands are supported on Windows.

* **v0.4.0** (2017-06-09):
* Supports Pilosa Server v0.4.0.
* Updated the accepted values for index, frame names and labels to match with the Pilosa server.
Expand Down Expand Up @@ -360,8 +363,6 @@ Please check our [Contributor's Guidelines](https://github.com/pilosa/pilosa/CON
3. Make sure all tests pass (use `make test-all`) and be sure that the tests cover all statements in your code (we aim for 100% test coverage).
4. Commit your code to a feature branch and send a pull request to the `master` branch of our repo.

The sections below assume your platform has `make`. Otherwise you can view the corresponding steps of the `Makefile`.

### Running tests

You can run unit tests with:
Expand Down
31 changes: 31 additions & 0 deletions make.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@echo off

REM default target is test
if "%1" == "" (
goto :test
)

2>NUL call :%1
if errorlevel 1 (
echo Unknown target: %1
)

goto :end

:cover
go test -cover -tags=integration
goto :end

:generate
echo Generating protobuf code is not supported on this platform.
goto :end

:test
go test
goto :end

:test-all
go test -tags=integration
goto :end

:end

0 comments on commit 9803e87

Please sign in to comment.