Makefile: add convenience 'print-vm' target
Add a simple convenience target that prints the filename of the test image without creating it beforehand. This can be useful to know what is the expected filename, so it is possible to provide an own test image instead of the generated one.
This commit is contained in:
parent
29abcaab98
commit
9357e55fc6
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -147,6 +147,10 @@ $(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots test/vm.install
|
|||
vm: $(VM_IMAGE)
|
||||
echo $(VM_IMAGE)
|
||||
|
||||
# convenience target to print the filename of the test image
|
||||
print-vm:
|
||||
echo $(VM_IMAGE)
|
||||
|
||||
# convenience target to setup all the bits needed for the integration tests
|
||||
# without actually running them
|
||||
prepare-check: $(NODE_MODULES_TEST) $(VM_IMAGE) test/common
|
||||
|
|
@ -187,4 +191,4 @@ $(NODE_MODULES_TEST): package.json
|
|||
env -u NODE_ENV npm install
|
||||
env -u NODE_ENV npm prune
|
||||
|
||||
.PHONY: all clean install devel-install print-version dist node-cache rpm check vm update-po
|
||||
.PHONY: all clean install devel-install print-version dist node-cache rpm check vm update-po print-vm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue