3992N/A#
3992N/A# CDDL HEADER START
3992N/A#
3992N/A# The contents of this file are subject to the terms of the
3992N/A# Common Development and Distribution License (the "License").
3992N/A# You may not use this file except in compliance with the License.
3992N/A#
3992N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3992N/A# or http://www.opensolaris.org/os/licensing.
3992N/A# See the License for the specific language governing permissions
3992N/A# and limitations under the License.
3992N/A#
3992N/A# When distributing Covered Code, include this CDDL HEADER in each
3992N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3992N/A# If applicable, add the following below this CDDL HEADER, with the
3992N/A# fields enclosed by brackets "[]" replaced with your own identifying
3992N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3992N/A#
3992N/A# CDDL HEADER END
3992N/A#
3992N/A
3992N/A#
3992N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3992N/A#
3992N/A
3992N/Ainclude ../../../make-rules/shared-macros.mk
3992N/A
3992N/ACOMPONENT_NAME= jjv
3992N/ACOMPONENT_VERSION= 1.0.2
3992N/ACOMPONENT_PROJECT_URL= https://github.com/acornejo/jjv/archive
3992N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3992N/ACOMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
3992N/ACOMPONENT_ARCHIVE_HASH= sha256:130b9a2a09c2525f9ccecdf52e3d855901f2eaf6712edc7eedaad3824f65654d
3992N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
3992N/ACOMPONENT_BUGDB= javascript/jjv
3992N/A
3992N/ATPNO= 21110
3992N/A
3992N/Ainclude ../../../make-rules/prep.mk
3992N/Ainclude ../../../make-rules/ips.mk
3992N/A
3992N/A# common targets
3992N/Apublish: download prep
3992N/A
3992N/A# To run the test files, you'll need to install node.js and npm, and then go to
3992N/A# to the root of the source code, 'jjv-1.0.2', and run the following commands:
3992N/A# $ npm install chai
3992N/A# $ npm install mocha
3992N/A# $ ./node_modules/mocha/bin/mocha
3992N/Atest: $(NO_TESTS)
4337N/A
4337N/Asystem-test: $(NO_TESTS)