-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
52 lines (45 loc) · 1.57 KB
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
default:
@echo "CubeViz - CLI"
@echo " make install > Setup CubeViz"
@echo ""
@echo " Test Environment"
@echo " make install-test-environment > Setup PHPUnit 3.5.15 using PEAR"
@echo " make purge-test-environment > Purge PHPUnit 3.5.15 in PEAR"
@echo " make test > Test PHP side of CubeViz"
@echo ""
@echo " Package Generation"
@echo " make cubeviz > Generate tar.gz archive in generated-packages folder"
@echo ""
install:
cp ChartConfig.js.dist ChartConfig.js
cp doap.n3.dist doap.n3
cubeviz:
sh deployment/scripts/createCubeViz.sh
#
# Test Environment
#
install-test-environment:
sudo pear config-set auto_discover 1
sudo pear channel-update pear.php.net
sudo pear install pear.symfony-project.com/YAML-1.0.2
sudo pear install phpunit/PHPUnit_Selenium-1.0.1
sudo pear install phpunit/PHPUnit_MockObject-1.0.3
sudo pear install phpunit/PHP_Timer-1.0.0
sudo pear install phpunit/File_Iterator-1.2.3
sudo pear install phpunit/PHP_CodeCoverage-1.0.2
sudo pear install phpunit/Text_Template-1.1.4
sudo pear install phpunit/DbUnit-1.0.0
sudo pear install phpunit/PHPUnit-3.5.15
purge-test-environment:
sudo pear uninstall phpunit/PHPUnit
sudo pear uninstall phpunit/DbUnit
sudo pear uninstall phpunit/PHP_CodeCoverage
sudo pear uninstall phpunit/File_Iterator
sudo pear uninstall phpunit/PHPUnit_MockObject
sudo pear uninstall phpunit/Text_Template
sudo pear uninstall phpunit/PHP_Invoker
sudo pear uninstall phpunit/PHP_Timer
sudo pear uninstall phpunit/PHPUnit_Selenium
sudo pear uninstall pear.symfony-project.com/YAML
test:
phpunit --stderr tests