Build fails if grunt fails

This commit is contained in:
jendib 2016-06-16 22:15:54 +02:00
parent f5705b1153
commit 35ec8b951c
No known key found for this signature in database
GPG Key ID: 06EE7F699579166F
2 changed files with 3 additions and 2 deletions

View File

@ -281,10 +281,10 @@
<arg line="install" /> <arg line="install" />
</exec> </exec>
<!-- grunt --> <!-- grunt -->
<exec executable="cmd" dir="${project.basedir}/src/main/webapp" osfamily="windows"> <exec executable="cmd" dir="${project.basedir}/src/main/webapp" osfamily="windows" failonerror="true">
<arg line="/c grunt --apiurl=api" /> <arg line="/c grunt --apiurl=api" />
</exec> </exec>
<exec executable="grunt" dir="${project.basedir}/src/main/webapp" osfamily="unix"> <exec executable="grunt" dir="${project.basedir}/src/main/webapp" osfamily="unix" failonerror="true">
<arg line="--apiurl=api" /> <arg line="--apiurl=api" />
</exec> </exec>
</target> </target>

View File

@ -2,6 +2,7 @@
"name": "sismics-docs", "name": "sismics-docs",
"description": "Lightweight document management system", "description": "Lightweight document management system",
"readme": "See http://github.com/simics/docs for more informations.", "readme": "See http://github.com/simics/docs for more informations.",
"license": "GPL-2.0",
"version": "1.5.0", "version": "1.5.0",
"repository": { "repository": {
"type": "git", "type": "git",