Skip to content

Commit

Permalink
added cpy-cli dependency and updated build script
Browse files Browse the repository at this point in the history
Following advice from galaxy maintainer :

- Switch to cpy-cli to use instead of cp (should prevent the differences in cp behaviour)
  • Loading branch information
francoismg authored Nov 13, 2023
1 parent cf6c980 commit 2992ee8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/plugins/visualizations/fits_image_viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"license": "AFL-3.0",
"dependencies": {
"aladin-lite-galaxy": "^1.0.0",
"parcel-bundler": "^1.4.1"
"parcel-bundler": "^1.4.1",
"cpy-cli": "^5.0.0"
},
"scripts": {
"build": "mkdir -p static/dist; cp -r node_modules/aladin-lite-galaxy static/dist/. && parcel build src/script.js -d static"
"build": "cpy --flat node_modules/aladin-lite-galaxy static/dist/aladin-lite-galaxy && parcel build src/script.js -d static"
}
}

0 comments on commit 2992ee8

Please sign in to comment.