Browse Source

Rewrote AmberCli.st from IDE

Thomas Rake 10 years ago
parent
commit
58e894b001
1 changed files with 5 additions and 6 deletions
  1. 5 6
      cli/st/AmberCli.st

+ 5 - 6
cli/st/AmberCli.st

@@ -230,12 +230,6 @@ require: aModuleString
 	^require value: aModuleString
 !
 
-withBasePath: aBaseRelativePath
-	"return a file path which is relative to the basePath."
-	^	path join: self basePath with: aBaseRelativePath
-!
-
-
 validateBasePath
 	"The basePath must be an existing directory. "
 	fs stat: self basePath then: [ :err :stat | err
@@ -243,6 +237,11 @@ validateBasePath
 		ifNotNil: [ console warn: 'Warning: path at --base-path parameter ' , self basePath , ' does not exist.'  ]].
 !
 
+withBasePath: aBaseRelativePath
+	"return a file path which is relative to the basePath."
+	^	path join: self basePath with: aBaseRelativePath
+!
+
 writeData: data toFileNamed: aFilename
 	console log: aFilename
 ! !