Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 23dfbdc6
authored
Apr 01, 2018
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add angular tests to maven build-lifecycle
1 parent
1cbc86e7
Pipeline
#47
failed
in 0 seconds
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
30 deletions
code/moya-angular/package.json
code/moya-angular/pom.xml
code/moya-angular/package.json
View file @
23dfbdc
...
...
@@ -10,6 +10,7 @@
"aot"
:
"ng build --aot"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"test-n-build"
:
"ng lint && ng test && ng build"
,
"e2e"
:
"ng e2e"
,
"version"
:
"ng version"
},
...
...
code/moya-angular/pom.xml
View file @
23dfbdc
...
...
@@ -27,36 +27,33 @@
<executions>
<execution>
<!-- optional: you don't really need execution ids,
but it looks nice in your build log. -->
<id>
install node and npm
</id>
<goals>
<goal>
install-node-and-npm
</goal>
</goals>
<configuration>
<nodeVersion>
${js.node.version}
</nodeVersion>
<npmVersion>
${js.npm.version}
</npmVersion>
</configuration>
</execution>
<execution>
<id>
npm install
</id>
<goals>
<goal>
npm
</goal>
</goals>
</execution>
<execution>
<id>
npm run build
</id>
<goals>
<goal>
npm
</goal>
</goals>
<phase>
generate-resources
</phase>
<configuration>
<arguments>
run build
</arguments>
</configuration>
</execution>
<!-- optional: you don't really need execution ids,
but it looks nice in your build log. -->
<id>
install node and npm
</id>
<goals>
<goal>
install-node-and-npm
</goal>
</goals>
<configuration>
<nodeVersion>
${js.node.version}
</nodeVersion>
<npmVersion>
${js.npm.version}
</npmVersion>
</configuration>
</execution>
<execution>
<id>
npm install
</id>
<goals>
<goal>
npm
</goal>
</goals>
</execution>
<execution>
<id>
npm run build
</id>
<goals>
<goal>
npm
</goal>
</goals>
<phase>
generate-resources
</phase>
<configuration>
<arguments>
run test-n-build
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment