Skip to content

Commit

Permalink
Merge pull request #120 from companieshouse/feature/dsnd-2953_remove_…
Browse files Browse the repository at this point in the history
…routes_yml_from_makefile_command

DSND-2953: Remove routes yml from makefile command
  • Loading branch information
sthompsonCH authored Oct 4, 2024
2 parents 14f39f0 + 913fe26 commit 14a1c34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ run-local:

.PHONY: package
package:
@# Help: Create a single versioned deployable package (i.e. jar, zip, tar, etc.). May be dependent on the build target being run before package
ifndef version
$(error No version given. Aborting)
endif
Expand All @@ -78,7 +77,6 @@ endif
@test -s ./$(artifact_name).jar || { echo "ERROR: Service JAR not found"; exit 1; }
$(eval tmpdir:=$(shell mktemp -d build-XXXXXXXXXX))
cp ./start.sh $(tmpdir)
cp ./routes.yaml $(tmpdir)
cp ./$(artifact_name).jar $(tmpdir)/$(artifact_name).jar
cd $(tmpdir); zip -r ../$(artifact_name)-$(version).zip *
rm -rf $(tmpdir)
Expand Down

0 comments on commit 14a1c34

Please sign in to comment.