-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
44 lines (33 loc) · 1.09 KB
/
readme.txt
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
This project is an attempt and, at the same time, a feasibilty study of migrating the beautiful angularjs bootstrap-ui project from js to Dart.
----------------------
-- INTEGRATION TESTS:
----------------------
The 'test' folder contains integration tests that must run with karma.
To execute them in ubuntu:
----------------
- Prerequisites
----------------
nodejs is installed properly
---------------------
- Install karma-dart
---------------------
in the terminal:
// connect as root
sudo su
// install karma-dart globally
npm install karma-dart -g
//disconnect root
exit
--------------------
- Execute the tests
--------------------
Execute in the src/main/webapp/angular folder:
karma start karma.conf.js
start Dartium and browse to http://localhost:9876/
----------------------
-- USEFUL COMMANDS:
----------------------
- Produce minified js code:
dart2js --minify -o web/main.dart.js web/main.dart
- Produce minified dart code:
dart2js --minify --output-type=dart -o web/main-min.dart web/main.dart