Skip to content

Commit

Permalink
- Add init-examples-submodule Make step
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Jul 9, 2024
1 parent bdb7f53 commit b4c5a91
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ coverage-check:
docs:
dotnet tool run docfx docs/docfx.json

## init-examples-submodule - Initialize the examples submodule
init-examples-submodule:
git submodule init
git submodule update

## install-tools - Install required dotnet tools
install-tools:
dotnet new tool-manifest || exit 0
Expand All @@ -48,7 +53,7 @@ install-styleguide: | update-examples-submodule
sh examples/symlink_directory_files.sh examples/style_guides/csharp .

## install - Install requirements
install: | install-tools update-examples-submodule
install: | install-tools init-examples-submodule

## lint - Lints the solution (EasyPost + Tests + Integration + F#/VB compatibilities) (check IDE and SA rule violations)
lint:
Expand Down Expand Up @@ -131,4 +136,4 @@ fs-compat-test:
vb-compat-test:
dotnet test EasyPost.Compatibility.VB/EasyPost.Compatibility.VB.vbproj -f ${fw} -restore

.PHONY: help analyze build build-fw build-prod clean coverage coverage-check docs format install-styleguide install-tools install lint lint-scripts release restore scan setup-win setup-unix test update-examples-submodule unit-test integration-test fs-compat-test vb-compat-test
.PHONY: help analyze build build-fw build-prod clean coverage coverage-check docs format init-examples-submodule install-styleguide install-tools install lint lint-scripts release restore scan setup-win setup-unix test update-examples-submodule unit-test integration-test fs-compat-test vb-compat-test

0 comments on commit b4c5a91

Please sign in to comment.