Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OS-dependent command invocations #84

Closed
LPeter1997 opened this issue Nov 6, 2022 · 0 comments · Fixed by #85
Closed

Remove OS-dependent command invocations #84

LPeter1997 opened this issue Nov 6, 2022 · 0 comments · Fixed by #85

Comments

@LPeter1997
Copy link
Member

Currently our package.json for the VSC client has the following scripts defined:

  "scripts": {
    "copy-grammar": "(mkdir syntaxes || true) && (cp ../Draco.SyntaxHighlighting/draco.tmLanguage.json ./syntaxes/draco.tmLanguage.json)",
    "vscode:prepublish": "(npm run copy-grammar) && (npm run compile)",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "lint": "eslint src --ext ts"
  },

Sadly the copying is a Windows-only command, so won't work on other OSes. We can replace with a dev-dependency from NPM or even write a node script inline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant