Skip to content

Commit

Permalink
Fixed update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
26soncrantr committed Mar 8, 2021
1 parent acc86af commit f1d8182
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 52 deletions.
50 changes: 1 addition & 49 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,52 +55,4 @@ To update ParaCode, run the following command:
```shell
update.sh
```
or to install or update, run:
```shell
rm doc/*
rmdir doc
rm examples/*
rmdir examples
rm interpreter/env/builtin/*
rmdir interpreter/env/builtin
rm interpreter/env/*
rmdir interpreter/env
rm interpreter/typing/*
rmdir interpreter/typing
rm interpreter/*
rmdir interpreter
rm parse/*
rmdir parse
rm repl/*
rmdir repl
rm std/experimental/*
rmdir std/experimental
rm std/io/*
rmdir std/io
rm std/math/*
rmdir std/math
rm std/types/math/*
rmdir std/types/math
rm std/types/tk/*
rmdir std/types/tk
rm std/types/*
rmdir std/types
rm std/util/*
rmdir std/util
rm std/*
rmdir std
rm installDependencies.py
rm lexer.py
rm mandle.para
rm ParaCodeInstaller.iss
rm shell.py
rm shellTemplate.py
rm util.py
rm test.para
wget "http://github.com/DaRubyMiner360/ParaCode/archive/rewrite.zip" -O temp.zip
unzip temp.zip
rm temp.zip
mv -f ParaCode-rewrite/* .
mv -f ParaCode-rewrite/.* .
rmdir ParaCode-rewrite
```
or run everything from `update.sh`, which will install and update ParaCode.
71 changes: 68 additions & 3 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,75 @@
rm doc/*
rmdir doc
rmdir examples/__pycache__/*
rm examples/__pycache__/*
rmdir examples/__pycache__
rmdir examples/*
rm examples/*
rmdir examples
rmdir interpreter/env/builtin/__pycache__/*
rm interpreter/env/builtin/__pycache__/*
rmdir interpreter/env/builtin/__pycache__
rmdir interpreter/env/builtin/*
rm interpreter/env/builtin/*
rmdir interpreter/env/builtin
rmdir interpreter/env/__pycache__/*
rm interpreter/env/__pycache__/*
rmdir interpreter/env/__pycache__
rmdir interpreter/env/*
rm interpreter/env/*
rmdir interpreter/env
rmdir interpreter/typing/__pycache__/*
rm interpreter/typing/__pycache__/*
rmdir interpreter/typing/__pycache__
rmdir interpreter/typing/*
rm interpreter/typing/*
rmdir interpreter/typing
rmdir interpreter/__pycache__/*
rm interpreter/__pycache__/*
rmdir interpreter/__pycache__
rmdir interpreter/*
rm interpreter/*
rmdir interpreter
rmdir parse/__pycache__/*
rm parse/__pycache__/*
rmdir parse/__pycache__
rmdir parse/*
rm parse/*
rmdir parse
rmdir repl/__pycache__/*
rm repl/__pycache__/*
rmdir repl/__pycache__
rmdir repl/*
rm repl/*
rmdir repl
rmdir std/experimental/*
rm std/experimental/*
rmdir std/experimental
rmdir std/io/*
rm std/io/*
rmdir std/io
rmdir std/math/*
rm std/math/*
rmdir std/math
rmdir std/types/math/matrix/*
rm std/types/math/matrix/*
rmdir std/types/math/matrix
rmdir std/types/math/vectors/*
rm std/types/math/vectors/*
rmdir std/types/math/vectors
rmdir std/types/math/*
rm std/types/math/*
rmdir std/types/math
rmdir std/types/tk/*
rm std/types/tk/*
rmdir std/types/tk
rmdir std/types/*
rm std/types/*
rmdir std/types
rmdir std/util/*
rm std/util/*
rmdir std/util
rmdir std/*
rm std/*
rmdir std
rm installDependencies.py
Expand All @@ -41,6 +83,29 @@ rm test.para
wget "http://github.com/DaRubyMiner360/ParaCode/archive/rewrite.zip" -O temp.zip
unzip temp.zip
rm temp.zip
mv -f ParaCode-rewrite/* .
mv -f ParaCode-rewrite/.* .
rmdir ParaCode-rewrite
mv ParaCode-rewrite/* .
mv ParaCode-rewrite/.* .
rm ParaCode-rewrite/discord/core/*
rmdir ParaCode-rewrite/discord/core/*
rmdir ParaCode-rewrite/discord/core
rm ParaCode-rewrite/discord/*
rmdir ParaCode-rewrite/discord/*
rmdir ParaCode-rewrite/discord
rm ParaCode-rewrite/packages/*/*/*/*/*/*
rm ParaCode-rewrite/packages/*/*/*/*/*
rmdir ParaCode-rewrite/packages/*/*/*/*/*
rm ParaCode-rewrite/packages/*/*/*/*
rmdir ParaCode-rewrite/packages/*/*/*/*
rm ParaCode-rewrite/packages/*/*/*
rmdir ParaCode-rewrite/packages/*/*/*
rm ParaCode-rewrite/packages/*/*
rmdir ParaCode-rewrite/packages/*/*
rm ParaCode-rewrite/packages/*
rmdir ParaCode-rewrite/packages/*
rmdir ParaCode-rewrite/packages
rm ParaCode-rewrite/__pycache__/*
rmdir ParaCode-rewrite/__pycache__/*
rmdir ParaCode-rewrite/__pycache__
rm ParaCode-rewrite/*
rmdir ParaCode-rewrite/*
rmdir ParaCode-rewrite

0 comments on commit f1d8182

Please sign in to comment.