From b03c056bcfac360d0f8be1321c576e65d2466757 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 9 Mar 2021 09:33:17 +0700 Subject: Clean up styling, again --- _assets/scripts/generate_results.jl | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 _assets/scripts/generate_results.jl (limited to '_assets/scripts/generate_results.jl') diff --git a/_assets/scripts/generate_results.jl b/_assets/scripts/generate_results.jl deleted file mode 100644 index 8823354..0000000 --- a/_assets/scripts/generate_results.jl +++ /dev/null @@ -1,27 +0,0 @@ -# Parent file to run all scripts which may generate -# some output that you want to display on the website. -# this can be used as a tester to check that all the code -# on your website runs properly. - -dir = @__DIR__ - -""" - genplain(s) - -Small helper function to run some code and redirect the output (stdout) to a file. -""" -function genplain(s::String) - open(joinpath(dir, "output", "$(splitext(s)[1]).txt"), "w") do outf - redirect_stdout(outf) do - include(joinpath(dir, s)) - end - end -end - -# output - -genplain("script1.jl") - -# plots - -include("script2.jl") -- cgit 1.4.1