mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Minor tweaks to tools/
This commit is contained in:
parent
38821372dd
commit
3b4ada175d
4 changed files with 13 additions and 17 deletions
|
@ -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.
|
||||
#
|
||||
|
|
6
tools/run-lin
Executable file
6
tools/run-lin
Executable file
|
@ -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)
|
6
tools/run-win
Executable file
6
tools/run-win
Executable file
|
@ -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)
|
|
@ -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\<user>\_bazel_<user>, 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
|
Loading…
Reference in a new issue