Add makefile command to make intake-sources available
This commit is contained in:
parent
f2ab5ac6d5
commit
27eb3cb211
5
Makefile
5
Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: help serve test-data demo
|
||||
.PHONY: help serve test-data intake-sources demo
|
||||
|
||||
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
@ -15,5 +15,8 @@ serve: ## Run "intake serve" with live reload
|
||||
test-data: ## Recreate test data in tmp/
|
||||
@test/test_items.sh
|
||||
|
||||
intake-sources: ## Nix build intake-sources into tmp/
|
||||
@nix build git+https://git.alogoulogoi.com/Jaculabilis/intake-sources.git#default --out-link ${ROOT_DIR}/tmp/intake-sources
|
||||
|
||||
demo: ## Run the demo vm
|
||||
@nix run ".#nixosConfigurations.demo.config.system.build.nixos-shell"
|
||||
|
@ -46,8 +46,7 @@ func sourceTest(env []string, format string, timeout string, cmd []string) {
|
||||
}
|
||||
|
||||
items, state, _, err := core.Execute("test", cmd, env, nil, "", duration)
|
||||
log.Printf("returned %d items", len(items))
|
||||
log.Printf("wrote %d bytes of state", len(state))
|
||||
log.Printf("returned %d items, %d bytes of state", len(items), len(state))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user