Skip to content

Commit

Permalink
added home, sparks, sdk directories to config
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Courtine <[email protected]>
  • Loading branch information
michakfromparis committed Jan 30, 2019
1 parent 39c088a commit 6be057b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,17 @@ var VolleyAndroidAPILevel = 19

// Emscripten specific

// HomeDirectory points to the user's home directory
var HomeDirectory, _ = sys.GetHome()

// SparksHome points to the root of sparks sdks, projects, etc
var SparksHome = filepath.Join(HomeDirectory, "sparks")

// SDKHome points to the root of sparks sdks
var SDKHome = filepath.Join(SparksHome, "sdks")

// EmscriptenSDKRoot points to the location where the Emscripten sdk is installed
var EmscriptenSDKRoot = "Emscripten"
var EmscriptenSDKRoot = filepath.Join(SDKHome, "emscripten")

// EmscriptenVersion defines the version of the Emscripten SDK to use.
// Possible values: '1.27.0', '1.29.0' 'latest', 'master' or 'incoming' for the latest version
Expand Down

0 comments on commit 6be057b

Please sign in to comment.