File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ /*
4+ * Loads and caches a client data file. Call loadClientItems(file) or
5+ * createClientItems(obj) to parse and cache client items. Then call
6+ * .clientItemsForStructure(structure) to get client items referenced in the
7+ * structure.
8+ */
9+
110const _ = require ( 'lodash' ) ;
211const Promise = require ( 'bluebird' ) ;
312const fs = Promise . promisifyAll ( require ( 'fs' ) ) ;
@@ -19,7 +28,7 @@ const clientItemTypeMap = {
1928 anchors : 'anchors' ,
2029 pushBraces : 'braces' ,
2130 braces : 'braces' ,
22- sidewalkBrances : 'braces' ,
31+ sidewalkBraces : 'braces' ,
2332 crossArms : 'crossArms' ,
2433 assemblies : 'assemblies'
2534} ;
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- VERSION =9.2.1
3+ NODE_VERSION =9.2.1
44MY_PATH=${BASH_SOURCE%/* }
55
66npm install
@@ -12,6 +12,13 @@ for os in linux macos win; do
1212 for arch in x64 x86; do
1313 echo Building $os -$arch
1414 mkdir -p target/$os /$arch 2> /dev/null
15- pkg -t node$VERSION -$os -$arch --out-path target/$os /$arch .
15+ pkg -t node$NODE_VERSION -$os -$arch --out-path target/$os /$arch .
16+
17+ if [ $os == ' win' ]; then
18+ cp target/$os /$arch /cee-cli.exe target/$os /$arch /cee-cli-$arch .exe
19+ else
20+ cp target/$os /$arch /cee-cli target/$os /$arch /cee-cli-$os -$arch
21+ fi
22+
1623 done
1724done
You can’t perform that action at this time.
0 commit comments