-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 822 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: setup static_code_anlysis unit_tests functional_tests
setup:
@echo "\n\n\n--------\nRunning setup...\n--------\n\n"
npm install
static_code_anlysis:
@echo "\n\n\n--------\nRunning JSHint...\n--------\n\n"
./node_modules/.bin/jshint controllers services views test specs *.js
unit_tests:
@echo "\n\n\n--------\nRunning unit_tests...\n--------\n\n"
@rm -rf old_coverage && git pull origin master && mv coverage old_coverage
./node_modules/.bin/karma start karma.conf.js
@ruby code_coverage_checker.rb
functional_tests:
@echo "\n\n\n--------\nRunning functional_tests...\n--------\n\n"
./deploy_and_test.sh
@echo "Running functional tests mandator/checker"
@ruby check_if_func_test_needed.rb
publish:
docker build -t ndmanvar/demo_test .
docker push ndmanvar/demo_test
docker rmi ndmanvar/demo_test