Shanedell commented on a change in pull request #37:
URL: https://github.com/apache/daffodil-vscode/pull/37#discussion_r731165855



##########
File path: package.json
##########
@@ -31,7 +31,9 @@
     "watch2": "tsc -watch -p ./",
     "package": "vsce package",
     "publish": "vsce publish",
-    "package-ext": "webpack --mode production --config 
./build/extension.webpack.config.js"
+    "package-ext": "webpack --mode production --config 
./build/extension.webpack.config.js",
+    "sbt": "sbt universal:packageBin",
+    "build": "yarn sbt && yarn install && yarn compile && yarn package"

Review comment:
       From what I saw it seems the only way to do is the way I have 
implemented. Yarn doesn't allow you to specify other scripts a script depends 
on so that they will run prior.
   
   I believe the only way it functions this way is if you have something like 
`build` and `prebuild` then run `yarn run build` I think it will automatically 
run prebuild first but not completely sure on that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to