Skip to content

Commit

Permalink
Merge branch 'edge'
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed May 28, 2019
2 parents 12eea36 + be4295a commit f70ef38
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
!.gitignore
!.gitmodules
!.npmignore
bfg-*.jar
node_modules
uilicious-cli-go
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "uilicious-cli-go"]
path = uilicious-cli-go
url = [email protected]:uilicious/uilicious-cli-go.git
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uilicious-cli",
"version": "2.1.2",
"version": "2.2.1",
"description": "Uilicious CLI toolchain",
"main": "uilicious-cli.js",
"//": [
Expand Down
1 change: 1 addition & 0 deletions uilicious-cli-go
Submodule uilicious-cli-go added at 0c9d1f
11 changes: 5 additions & 6 deletions uilicious-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ const scriptDirectory = __dirname;

// Mapping from Node's `process.arch` to Golang's `$GOARCH`
const ARCH_MAPPING = {
"ia32": "386",
"x64": "amd64",
// "arm": "arm"
"ia32": "386",
"x64": "amd64"
};

// Mapping between Node's `process.platform` to Golang's
const PLATFORM_MAPPING = {
"darwin": "darwin",
"linux": "linux",
"win32": "windows"
"darwin": "darwin",
"linux": "linux",
"win32": "windows"
};

if (!(process.arch in ARCH_MAPPING)) {
Expand Down

0 comments on commit f70ef38

Please sign in to comment.