Skip to content

Commit

Permalink
Merge branch 'release/0.6.5'.
Browse files Browse the repository at this point in the history
  • Loading branch information
petrbroz committed May 20, 2019
2 parents bcc2bb0 + c776dd5 commit ed1991f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Command line tools for Autodesk Forge services.

## Usage

### Using npm

- install the library, either in your own npm project (`npm install --save forge-cli-utils`),
or globally (`npm install --global forge-cli-utils`)
- setup `FORGE_CLIENT_ID` and `FORGE_CLIENT_SECRET` env. vars with your app credentials
Expand All @@ -14,6 +16,12 @@ Command line tools for Autodesk Forge services.
- `forge-md` - [Forge Model Derivative](https://forge.autodesk.com/en/docs/model-derivative/v2) service
- `forge-da` - [Forge Design Automation](https://forge.autodesk.com/en/docs/design-automation/v3) service

### Self-contained binaries

Scripts in this library are also packaged into self-contained binaries for various platforms
using the [pkg](https://www.npmjs.com/package/pkg) module. You can download the binaries on
the [release](https://github.com/petrbroz/forge-cli-utils/releases) pages.

## Examples

### Data Management
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "forge-cli-utils",
"version": "0.6.4",
"version": "0.6.5",
"description": "Command line tools for Autodesk Forge services.",
"bin": {
"forge-dm": "src/forge-dm.js",
Expand All @@ -9,8 +9,8 @@
},
"scripts": {
"build": "npm run build:win && npm run build:macos",
"build:win": "export FORGE_CLI_ARCH=node10-win-x64 && npm run pack && tar czf bin/$FORGE_CLI_ARCH.tar.gz bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH",
"build:macos": "export FORGE_CLI_ARCH=node10-macos-x64 && npm run pack && tar czf bin/$FORGE_CLI_ARCH.tar.gz bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH",
"build:win": "export FORGE_CLI_ARCH=node10-win-x64 && npm run pack && zip -jr bin/$FORGE_CLI_ARCH.zip bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH",
"build:macos": "export FORGE_CLI_ARCH=node10-macos-x64 && npm run pack && zip -jr bin/$FORGE_CLI_ARCH.zip bin/$FORGE_CLI_ARCH/* && rm -rf bin/$FORGE_CLI_ARCH",
"pack": "npm run pack:dm && npm run pack:md && npm run pack:da",
"pack:dm": "pkg src/forge-dm.js --targets $FORGE_CLI_ARCH --out-path bin/$FORGE_CLI_ARCH",
"pack:md": "pkg src/forge-md.js --targets $FORGE_CLI_ARCH --out-path bin/$FORGE_CLI_ARCH",
Expand Down

0 comments on commit ed1991f

Please sign in to comment.