Skip to content
Snippets Groups Projects
Commit 22a2cdcf authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

SSDM-7583 - Object Type View - introduce openbis-ng-ui custom AS service

parent 07f907ba
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 5 deletions
...@@ -30,5 +30,22 @@ node { ...@@ -30,5 +30,22 @@ node {
nodeModulesDir = file("${projectDir}") nodeModulesDir = file("${projectDir}")
} }
npm_run_build.dependsOn npm_run_test task cleanBuild(type:Delete){
build.dependsOn npm_run_build delete 'build'
}
task copyCorePlugins(type: Copy) {
from file('src/core-plugins')
into file('build/core-plugins')
}
task copyWebApp(type: Copy) {
from file('build/js')
into file('build/core-plugins/openbis-ng-ui/1/as/webapps/openbis-ng-ui/html')
}
npm_run_build.dependsOn cleanBuild
copyCorePlugins.dependsOn npm_run_build
copyWebApp.dependsOn copyCorePlugins
build.dependsOn copyWebApp
build.dependsOn npm_run_test
\ No newline at end of file
/* eslint-disable-next-line no-undef */ /* eslint-disable-next-line no-undef */
module.exports = { module.exports = {
reporters: ['default', 'jest-junit'], reporters: ['default', 'jest-junit'],
setupFilesAfterEnv: ['<rootDir>srcTest/setupTests.js'] setupFilesAfterEnv: ['<rootDir>srcTest/js/setupTests.js']
} }
...@@ -65,8 +65,8 @@ ...@@ -65,8 +65,8 @@
"dev": "webpack-dev-server --hot --config webpack.config.dev.js", "dev": "webpack-dev-server --hot --config webpack.config.dev.js",
"build": "webpack-cli --config webpack.config.js", "build": "webpack-cli --config webpack.config.js",
"unit": "jest", "unit": "jest",
"lint": "eslint --ext .js,.jsx src test", "lint": "eslint --ext .js,.jsx src/js srcTest/js",
"lint:fix": "eslint --ext .js,.jsx src test --fix", "lint:fix": "eslint --ext .js,.jsx src/js srcTest/js --fix",
"test": "jest", "test": "jest",
"test:debug": "node --inspect-brk=9229 ./node_modules/.bin/jest --runInBand", "test:debug": "node --inspect-brk=9229 ./node_modules/.bin/jest --runInBand",
"test:watch": "npm test -- --watch" "test:watch": "npm test -- --watch"
......
class = ch.ethz.sis.openbis.generic.server.asapi.v3.helper.service.JythonBasedCustomASServiceExecutor
script-path = script.py
def process(context, parameters):
return None
webapp-folder = html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment