-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b1c291
commit 4595d74
Showing
3 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
build: | ||
go build -v ./... | ||
|
||
test: | ||
go clean -testcache && go test -v ./... | ||
|
||
build_and_test: build test | ||
|
||
executable: | ||
go build -o cmd/main cmd/main.go | ||
|
||
build_executable: build executable | ||
|
||
clean: | ||
rm -rf cmd/main && rm -rf output.txt | ||
|
||
all: clean build_and_test build_executable | ||
|
||
run_10M: | ||
./run.sh | ||
|
||
clean_run_10M: all run_10M | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
echo "Running" | ||
for (( i = 0; i < 5; i++ )); do | ||
{ time ./cmd/main -f ./fixture/10M_weather_stations.csv; } 2>&1 | tee output.txt | tail -3 | ||
sleep 2 | ||
echo --- | ||
done |