From bb66513259d62708bc7e048c248eb368d8d0a5fd Mon Sep 17 00:00:00 2001 From: raphasampaio Date: Tue, 1 Aug 2023 22:58:23 -0300 Subject: [PATCH] [skip ci] project changes --- .gitignore | 6 ++++++ .vscode/settings.json | 3 +++ docs/docs.sh | 4 ++++ format/format.bat | 5 ----- {format => formatter}/Project.toml | 0 formatter/format.bat | 5 +++++ {format => formatter}/format.jl | 0 formatter/format.sh | 5 +++++ revise/revise.bat | 2 +- revise/revise.sh | 5 +++++ test/test.sh | 5 +++++ 11 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json create mode 100755 docs/docs.sh delete mode 100644 format/format.bat rename {format => formatter}/Project.toml (100%) create mode 100644 formatter/format.bat rename {format => formatter}/format.jl (100%) create mode 100755 formatter/format.sh create mode 100755 revise/revise.sh create mode 100755 test/test.sh diff --git a/.gitignore b/.gitignore index 29126e4..cc1b8c8 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,9 @@ docs/site/ # committed for packages, but should be committed for applications that require a static # environment. Manifest.toml +docs/Manifest.toml +formatter/Manifest.toml +revise/Manifest.toml + +# MacOS files +*.DS_Store diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b1d7a00 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "julia.executablePath": "${env:JULIA_192}" +} \ No newline at end of file diff --git a/docs/docs.sh b/docs/docs.sh new file mode 100755 index 0000000..fa4e461 --- /dev/null +++ b/docs/docs.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +$JULIA_192 --project -e "using Pkg; Pkg.develop(PackageSpec(path=dirname(pwd()))); Pkg.instantiate()" +$JULIA_192 --project make.jl \ No newline at end of file diff --git a/format/format.bat b/format/format.bat deleted file mode 100644 index 27a03a6..0000000 --- a/format/format.bat +++ /dev/null @@ -1,5 +0,0 @@ -@echo off - -SET BASEPATH=%~dp0 - -%JULIA_192% --color=yes --project=%BASEPATH% %BASEPATH%\format.jl \ No newline at end of file diff --git a/format/Project.toml b/formatter/Project.toml similarity index 100% rename from format/Project.toml rename to formatter/Project.toml diff --git a/formatter/format.bat b/formatter/format.bat new file mode 100644 index 0000000..9c0c8cc --- /dev/null +++ b/formatter/format.bat @@ -0,0 +1,5 @@ +@echo off + +SET BASEPATH=%~dp0 + +%JULIA_192% --project=%BASEPATH% %BASEPATH%\format.jl \ No newline at end of file diff --git a/format/format.jl b/formatter/format.jl similarity index 100% rename from format/format.jl rename to formatter/format.jl diff --git a/formatter/format.sh b/formatter/format.sh new file mode 100755 index 0000000..c9aad30 --- /dev/null +++ b/formatter/format.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +BASEPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +$JULIA_192 --project=$BASEPATH $BASEPATH/format.jl \ No newline at end of file diff --git a/revise/revise.bat b/revise/revise.bat index d174e97..262f5a9 100644 --- a/revise/revise.bat +++ b/revise/revise.bat @@ -2,4 +2,4 @@ SET BASEPATH=%~dp0 -%JULIA_192% --color=yes --project=%BASEPATH% --load=%BASEPATH%\revise.jl +%JULIA_192% --project=%BASEPATH% --interactive --load=%BASEPATH%\revise.jl diff --git a/revise/revise.sh b/revise/revise.sh new file mode 100755 index 0000000..e7f865f --- /dev/null +++ b/revise/revise.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +BASEPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +$JULIA_192 --project=$BASEPATH --interactive $BASEPATH/revise.jl \ No newline at end of file diff --git a/test/test.sh b/test/test.sh new file mode 100755 index 0000000..71ec85a --- /dev/null +++ b/test/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +BASEPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +$JULIA_192 --project=$BASEPATH/.. -e "import Pkg; Pkg.test()" \ No newline at end of file