Commit Graph

25 Commits

Author SHA1 Message Date
Damien Elmes
359b9f5cd5 use same cargo rspy target dir for wheel build 2020-04-25 10:08:24 +10:00
Damien Elmes
16ab351bf8 avoid unnecessary work in 'make build' 2020-04-07 10:59:14 +10:00
evandrocoan
069cc11a86 Created the GitHub Actions step Upload to PyPi to run only on
tagged releases of anki:
https://anki.tenderapp.com/discussions/ankidesktop/40025-anki-in-python-package-index
2020-04-02 02:57:34 -03:00
evandrocoan
20c9837770 Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00
Damien Elmes
f904f30bb2 add DEVFLAGS for performance testing 2020-03-10 13:36:01 +10:00
evandrocoan
ff3ea28de0 Fixed "Makefile:4: warning: undefined variable 'OS'" due the usage
of MAKEFLAGS += --warn-undefined-variables
2020-03-03 20:51:56 -03:00
evandrocoan
f13d9dfb8a Merge remote-tracking branch 'danielelmes/master' into allow_to_define_python_bin
# Conflicts:
#	rspy/Makefile
2020-03-02 11:44:45 -03:00
Damien Elmes
a98ecb642c
Merge pull request #487 from evandroforks/fix_rspy_makefile_rebuild
Fixed rspy/Makefile not rebuilding when rspy/src files are changed
2020-03-02 16:30:01 +10:00
evandrocoan
9460082a91 Allow to define a externally PYTHON_BIN and ACTIVATE_SCRIPT 2020-03-01 22:41:06 -03:00
evandrocoan
7957b51cb8 Fixed rspy/Makefile trying to use python3 on Windows 2020-03-01 22:41:06 -03:00
evandrocoan
9451d1f705 Fixed rspy/Makefile not rebuilding when rspy/src files are changed 2020-03-01 22:38:39 -03:00
evandrocoan
8bbb3bb2ee Fixed rspy/Makefile trying to use python3 on Windows 2020-03-01 13:24:53 -03:00
Damien Elmes
c966d88e4c add support for embedding the qt translations 2020-02-27 20:38:34 +10:00
evandrocoan
26cdff29ec Renamed FIND_EXEC to FIND, replaced IS_WINDOWS by specific commands
as PYTHON_BIN, ACTIVE_SCRIPT and INSTALL_PYAUDIO.
Fixed echo statements not using @ to suppress double message output.
Deprecated the usage of ECHOCMD := /bin/echo -e because it has no
effect: https://stackoverflow.com/questions/60387684/how-to-make-the-makefile-echos-to-use-bin-echo-e

# Conflicts:
#	Makefile
2020-02-25 03:15:11 -03:00
evandrocoan
bca96de75c Fixed misspelling on README.development and added missing FIND_EXEC
to rspy/Makefile
2020-02-24 17:03:00 -03:00
evandrocoan
19f1c98025 Fixed development compilation with Windows 10
1. Documented on README.development how to setup the environment
   for Windows.
2. Fixed qt/ts/package.json not working due usage of ; instead
   of &&
3. Fixed copy-qt-files rsync using Windows paths instead of Unix
   ones
4. Fixed Makefile's using Windows Linux Subsystem bash instead of
    the Cygwin one.
5. Ensured running the correct pip module by using python -m pip
    instead of just pip.
6. Fixed Makefiles using Windows `find` command, instead of the
    Cygwin's one (POSIX find).
7. Fixed pyenv sourcing/activate using /pyevn/bin/ instead of
    /python/Scripts/ on Windows.
8. Fixed pyaudio not installing/linking with portaudio on Windows
    by installing for a patched fork at evandroforks/pyaudio
9. Forked and fixed portaudio not building with Visual Studio 2017
    or superior and added the reference for the patched fork on
    README.development at evandroforks/portaudio.
2020-02-24 14:59:11 -03:00
Damien Elmes
1b0c3b8b75 allow setting specific target dir for rspy
when using CARGO_TARGET_DIR to define a common build location on
macOS, maturin forces a rebuild every time as the link args
for the Python lib don't match those used when building the tests
2020-02-24 21:22:02 +10:00
Damien Elmes
5767ed7a5c switch to debug builds when running 'develop' for faster compile times 2020-02-24 20:45:25 +10:00
Damien Elmes
3f648eba66 make sure rslib changes trigger rspy rebuild 2020-02-24 19:02:12 +10:00
Damien Elmes
22bb4607c9 ensure rspy rebuilt on buildhash change 2020-02-23 18:47:00 +10:00
Damien Elmes
7230b6e390 support aqt-specific FTL files 2020-02-23 18:00:13 +10:00
Damien Elmes
33dc0435e7 BSD wants -i '', GNU wants -i'' 2020-01-03 16:02:06 +10:00
Damien Elmes
c25e106f88 use proper version number in build outputs 2020-01-03 14:36:14 +10:00
Damien Elmes
e2ede3af0e output into dist/ 2020-01-03 14:32:26 +10:00
Damien Elmes
5876866565 tweaking the folder names again
hopefully that's the last of it
2020-01-03 07:48:38 +10:00