소스 검색

Rewrote AmberCli.st from IDE

Thomas Rake 11 년 전
부모
커밋
58e894b001
1개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  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
 ! !