Skip to content

Commit

Permalink
refactor(CLI): Simplify CLI to single file
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jul 20, 2020
1 parent ecb6ac2 commit d94a189
Show file tree
Hide file tree
Showing 17 changed files with 223 additions and 766 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Expand Up @@ -51,5 +51,6 @@
"typescript.preferences.importModuleSpecifier": "relative",
"typescript.suggest.completeFunctionCalls": true,
"typescript.updateImportsOnFileMove.enabled": "prompt",
"workbench.editor.highlightModifiedTabs": true
"workbench.editor.highlightModifiedTabs": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -11,3 +11,6 @@ format:

build:
npm run build

clean:
npm run clean
9 changes: 0 additions & 9 deletions build-test.sh

This file was deleted.

4 changes: 4 additions & 0 deletions build-tgz.sh → deps.sh
@@ -1,5 +1,7 @@
#!/bin/bash

# A script for bundling binaries and other assets into `stencila-deps.tgz`

set -e

mkdir -p stencila-deps
Expand All @@ -10,8 +12,10 @@ else
CP="cp --parent --recursive"
fi

$CP node_modules/@stencila/encoda/dist/codecs/csl/styles stencila-deps
$CP node_modules/@stencila/encoda/dist/codecs/pandoc/binary stencila-deps
$CP node_modules/@stencila/encoda/dist/codecs/pandoc/templates stencila-deps
$CP node_modules/@stencila/encoda/dist/codecs/tex/*.xsl stencila-deps
$CP node_modules/puppeteer/.local-chromium stencila-deps
$CP node_modules/opn/xdg-open stencila-deps

Expand Down

0 comments on commit d94a189

Please sign in to comment.