diff --git a/CHANGELOG.md b/CHANGELOG.md index 27c893b..c6fd368 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.8] - May 27, 2020 + +### Fix +- Fixed bug where compiling a Java program resulted in Compilation Error. + + ## [0.7] - Jan 19, 2020 ### Changed diff --git a/coderunner/coderunner.py b/coderunner/coderunner.py index 9af732e..0fa42ac 100644 --- a/coderunner/coderunner.py +++ b/coderunner/coderunner.py @@ -48,7 +48,7 @@ "stack_limit": "64000", "max_processes_and_or_threads": "30", "enable_per_process_and_thread_time_limit": "false", - "enable_per_process_and_thread_memory_limit": "true", + "enable_per_process_and_thread_memory_limit": "false", "max_file_size": "1024", } diff --git a/docs/changelog.md b/docs/changelog.md index fd6b3e0..7fe2fcc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,12 @@ +## [0.8] - May 27, 2020 + +### Fix +- Fixed bug where compiling a Java program resulted in Compilation Error. + + ## [0.6] - Jan 5, 2020 ### Added diff --git a/ppp b/ppp new file mode 100755 index 0000000..4c7ea65 --- /dev/null +++ b/ppp @@ -0,0 +1,35 @@ +#!/bin/bash + +# Shell Script to Publish a Python Package +find_setup_py(){ + setupfile="setup.py" + if [ -f "$setupfile" ] + then + return + else + echo -e "\nERROR : $setupfile Not Found." + exit + fi +} + +remove_old_dist(){ + echo -e "\033[92;1mRemoving Old Distributions ... \n\033[0m" + rm -r dist/ + rm -r build/ + ls | grep "egg-info$" | xargs rm -r +} + +create_new_dist(){ + echo -e "\033[92;1mGenerating new Distributions ... \n\033[0m" + python3 setup.py sdist bdist_wheel +} + +run_twine(){ + echo -e "\033[92;1m\nUploading Package ... \n\033[0m" + twine upload dist/* +} + +find_setup_py +remove_old_dist +create_new_dist +run_twine \ No newline at end of file diff --git a/setup.py b/setup.py index c0e0c7c..fca876b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="coderunner", - version="0.7", + version="0.8", license="MIT", author="Bhupesh Varshney", author_email="varshneybhupesh@gmail.com",