Skip to content

Commit

Permalink
Rename sources to src and fix typo in cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tambry committed Jan 1, 2014
1 parent b5028b6 commit 895bc37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def main():
print ('-------------------------\n')
answer = input('If you really want to clean up, enter "Yes" ')
if answer.lower() not in ['yes']:
print ('You have not entered "Yes", aborting the clean up process\n')
print ('You have not entered "Yes", aborting the cleanup process\n')
sys.exit(1)
else:
if platform.system() is 'Windows':
Expand All @@ -35,7 +35,7 @@ def main():
print ('-------------------------\n')
if os.path.exists('sources'):
print ('Deleting sources')
shutil.rmtree('sources')
shutil.rmtree('src')
hasDeletedAnything = True
if os.path.exists('instance'):
print ('Deleting instance folder')
Expand Down
4 changes: 2 additions & 2 deletions scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def main(argv):
#print ('* Not here yet, skipping')
#startProcess("java -Xmx1G -jar runtime/N3Remapper.jar conf/remapper.cfg pre instance/StarMade.jar tmp/deobf.zip")
print ('* Decompiling... (Stage #2) (DISABLED)')
if not os.path.exists('sources') and not os.path.isdir('sources'):
os.makedirs('sources')
if not os.path.exists('src') and not os.path.isdir('src'):
os.makedirs('src')
#tmp/deobf.zip when we have implemented SpecialSource
#startProcess('java -Xmx1G -jar runtime/fernflower.jar' + workingDir + 'install/StarMade.zip sources')
print ('Setting up Eclipse workspace\n')
Expand Down

0 comments on commit 895bc37

Please sign in to comment.