Commit Graph

99 Commits

Author SHA1 Message Date
evandrocoan
4cf64519fb Automatically install pyaudio when running make check 2020-05-09 13:26:42 -03:00
evandrocoan
2008f2b7bc Fixed rspy check not being called
# Conflicts:
#	Makefile
2020-05-01 22:51:17 -03:00
Damien Elmes
43978b7257 ensure 'make check' updates rslib version 2020-05-02 10:46:51 +10:00
Damien Elmes
abb80231a5
Merge pull request #582 from evandroforks/fix_make_clean
Fixed make clean rule not working on Windows
2020-04-27 19:10:21 +10:00
evandrocoan
26480fb13c Fixed make clean rule not working on Windows 2020-04-26 03:02:02 -03:00
evandrocoan
7099259afa Fixed Makefile comments showing up on the console
Makefile comments inside rules have to be put in the beginning
of the line, otherwise they are passed to shell when running the
recipe.
2020-04-24 21:48:46 -03:00
Damien Elmes
a686f2cf44 vendor rename script 2020-04-14 19:49:07 +10:00
Damien Elmes
16ab351bf8 avoid unnecessary work in 'make build' 2020-04-07 10:59:14 +10:00
evandrocoan
2f9979bd30 Fixed main make add-buildhash not renaming pip sdist packages 2020-04-02 22:56:41 -03:00
evandrocoan
53b89adeeb Fix for indentation not using tabs on the make file 2020-03-25 19:05:31 -03:00
evandrocoan
eab11622fd Re-enabled the Makefile set -eo commands because by default
Mac OS uses an old version of make which does not support
the .SHELLFLAGS feature.
2020-03-25 19:05:31 -03:00
evandrocoan
206e167f85 Set curl to run silently, added missing double quotes and removed
trailing backslash on checks.yml
2020-03-25 00:05:49 -03:00
evandrocoan
18aec3c713 Re-enabled the mac_checks.yml after fixing the rate limit issue 2020-03-24 22:28:46 -03:00
evandrocoan
136cd4da7c Fixed not all rust libraries being cached 2020-03-24 22:28:46 -03:00
evandrocoan
f908566252 Created .github/workflows/mac_checks.yml 2020-03-24 00:31:46 -03:00
evandrocoan
b5a1cf3a14 Cache rust libraries 2020-03-23 19:51:23 -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
aa44240302 split ftl and po pushing up
The po changes are noisy due to line numbers in the comments, so it
makes sense to push them only when a gettext string has been changed.
2020-03-15 12:24:07 +10:00
Damien Elmes
f343197385 default to release in dev mode as well 2020-03-10 13:36:21 +10:00
Damien Elmes
f904f30bb2 add DEVFLAGS for performance testing 2020-03-10 13:36:01 +10:00
Damien Elmes
1bde8d72bb check for files without a final newline 2020-03-09 18:57:55 +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
evandrocoan
9460082a91 Allow to define a externally PYTHON_BIN and ACTIVATE_SCRIPT 2020-03-01 22:41:06 -03:00
evandrocoan
598897e82b Hide the Makefile buildhash rule verbosity 2020-03-01 22:39:19 -03:00
Damien Elmes
92670acff8 make sure we pull in translations for check action as well 2020-02-27 20:52:05 +10:00
Damien Elmes
3e1ba9e573 less wordy anki_extra_pip, and readme tweaks 2020-02-27 14:22:53 +10:00
evandrocoan
faaab30809 Fixed syntax error near unexpected token `&&' due ANKI_EXTRA_PIP
variable being undefined and added the last missing @ silencer on
the Makefile.
2020-02-27 00:51:36 -03:00
evandrocoan
f206940d5c Added back missing Makefile @ silencers 2020-02-27 00:22:08 -03:00
evandrocoan
dc049ce26a Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	Makefile
2020-02-27 00:20:34 -03:00
Damien Elmes
e4bce71f2b need to invoke make for pull-i18n
suggestions on a more elegant want to avoid executing these rules
every time without needing to invoke make welcome!
2020-02-26 20:07:55 +10:00
Damien Elmes
2555990c9c fix pull-i18n running on every build 2020-02-26 18:32:47 +10:00
Damien Elmes
cd0a09c865 fetch qt/ftl/repo on first build
needs to happen prior to develop step to ensure qt translations
get compiled into rspy
2020-02-26 18:01:05 +10:00
Damien Elmes
46fadc2a82 don't abort build if mo file fails; rename files for consistency
Issues are now checked for in CI, so there's no need to break the
build for everyone each time there's a problem with the gettext
catalogs.
2020-02-26 17:47:02 +10:00
evandrocoan
ddb1788c22 Reverted back to use pyenv (without using system wide packages) 2020-02-25 23:44:18 -03:00
evandrocoan
d88e5eb308 Removed the qt/Makefile INSTALL_PYAUDIO variable and
created the Makefile SYSTEM_PACKAGES updating README.development
2020-02-25 21:08:05 -03:00
evandrocoan
ac4933faca Merge remote-tracking branch 'danielelmes/master' into fix_windows_build
# Conflicts:
#	Makefile
2020-02-25 03:16:57 -03: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
Damien Elmes
a333e2024b add shortcut to update translations to makefile 2020-02-25 15:32:11 +10:00
evandrocoan
47ccd6638d Added -o pipefail to all set -e ensuring the build fails when some
operation with pipe exits error status.

# Conflicts:
#	Makefile
2020-02-24 20:18:56 -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
fb8f753d2d update rslib version automatically 2020-02-17 08:40:17 +10:00
Damien Elmes
c29faa9d86 run rs checks before setting up py env 2020-02-17 08:40:16 +10:00
Damien Elmes
97e3602c14 fix build from tarball 2020-02-03 08:55:05 +10:00
Damien Elmes
bce24586ea run make run by default 2020-02-03 08:55:00 +10:00
Damien Elmes
c010bb0a37 make sure pyenv is active when fixing 2020-01-10 13:07:12 +10:00
Glutanimate
8ff506f184 Split root develop steps into separate develop target
Allows development tools to directly debug qt/runanki while using
`make develop` as a debugging pre-launch task.
2020-01-08 21:44:46 +01:00
Damien Elmes
fe18594c50 more makefile fixes
can't rely on SHELLFLAGS on macOS
2020-01-07 18:19:18 +10:00
Damien Elmes
f3a6a661fe ensure a failed check aborts build 2020-01-06 13:15:20 +10:00
Damien Elmes
f4649b515f be explicit about hash length
different git versions have different defaults
2020-01-05 12:20:35 +10:00