diff --git a/tools/mac-x86 b/tools/mac-x86 index 86a1a58e6..312e19320 100755 --- a/tools/mac-x86 +++ b/tools/mac-x86 @@ -1,7 +1,7 @@ #!/bin/bash # # Run a command with an alternative buildroot and Intel architecture target, for building Intel on an ARM Mac. -# Eg ./mac-x86 ./tools/run-qt5.14 +# Eg ./tools/mac-x86 ./tools/run-qt5.14 # # Uses hard-coded paths to Python and build folders. # diff --git a/tools/run-lin b/tools/run-lin new file mode 100755 index 000000000..956e142e7 --- /dev/null +++ b/tools/run-lin @@ -0,0 +1,6 @@ +#!/bin/bash +# +# Invokes an external script to transfer files to a Linux machine and run Anki on it. +# You need to provide your own script if you wish to use this. + +(cd ../release/lin && ./test) diff --git a/tools/run-win b/tools/run-win new file mode 100755 index 000000000..4b6224286 --- /dev/null +++ b/tools/run-win @@ -0,0 +1,6 @@ +#!/bin/bash +# +# Invokes an external script to transfer files to a Windows machine and run Anki on it. +# You need to provide your own script if you wish to use this. + +(cd ../release/win && ./test) diff --git a/tools/setup-env.bat b/tools/setup-env.bat deleted file mode 100644 index 599be691d..000000000 --- a/tools/setup-env.bat +++ /dev/null @@ -1,16 +0,0 @@ -@echo off -pushd "%~dp0"\.. - -REM add msys/bazel to path if they're not already on it -where /q bazel || ( - set PATH=c:\msys64\usr\bin;\bazel;"%PATH%" -) - -if not exist windows.bazelrc ( - rem By default, Bazel will place build files in c:\users\\_bazel_, and this - rem can lead to build failures when the path names grow too long. So on Windows, the - rem default storage location is \bazel\anki instead. - echo startup --output_user_root=\\bazel\\anki > windows.bazelrc -) - -popd