-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add a convenience Makefile; fix mssql service in docker-compose
First, add a Makefile for those with 'make' in their blood: make all test Also fix mssql image usage after breakage in the latest release, copying what was done in elastic/apm-agent-nodejs#4150
- Loading branch information
Showing
2 changed files
with
24 additions
and
4 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,18 @@ | ||
# This is pure a convenience wrapper around calling npm scripts for those | ||
# with `make` in their veins. Though shalt not add complex logic here. | ||
|
||
.PHONY: all | ||
all: | ||
npm ci | ||
|
||
.PHONY: lint | ||
lint: | ||
npm run lint | ||
|
||
.PHONY: test | ||
test: | ||
cd packages/opentelemetry-node \ | ||
&& npm run test-services:start \ | ||
&& npm test \ | ||
&& npm run test-services:stop | ||
|
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