Anthony Sottile
d3883ce7f7
move languages.all and languages.helpers out of languages
2023-02-20 18:03:45 -05:00
marsha
8db5aaf4f3
future-proof dotnet build command
...
see https://github.com/dotnet/sdk/issues/30624#issuecomment-1435457318
2023-02-17 21:34:24 -06:00
marsha
915b930a5d
test dotnet directly
2023-02-07 21:47:26 -06:00
Anthony Sottile
0afb95ccca
test docker and docker_image directly
2023-02-04 17:22:06 -05:00
Anthony Sottile
7260d24d0f
Revert "also ignore Gemfile in project"
...
This reverts commit f4bd44996c .
2023-02-01 18:17:24 -05:00
Anthony Sottile
420902f67c
fix r local hooks
...
`language: r` acts more like `language: script` so we have to *not* append
the prefix when run with `repo: local`
2023-01-29 17:27:42 -05:00
Anthony Sottile
f4bd44996c
also ignore Gemfile in project
...
this starts failing with ruby 3.2.0
2023-01-28 16:44:44 -05:00
Anthony Sottile
83e05e607e
ensure coursier hooks are available offline after install
2023-01-25 14:03:39 -05:00
Anthony Sottile
966c67a832
speed up R unit tests
2023-01-17 14:16:13 -05:00
Anthony Sottile
70bfd76ced
coursier: additional_dependencies support
2023-01-17 09:59:04 -05:00
Anthony Sottile
628c876b2d
adjust the run_hook api to no longer take Hook
2023-01-16 16:34:01 -05:00
Anthony Sottile
ae34a962d7
make in_env part of the language api
2023-01-16 15:36:29 -05:00
taoufik07
9afd63948e
Make Go a first class language
2023-01-13 12:42:57 -05:00
Anthony Sottile
0dbc154380
Merge pull request #2672 from taoufik07/remove_gopath_special_build
...
Remove `GOPATH` special build
2023-01-02 19:32:08 -05:00
taoufik07
60a42e9419
Remove GOPATH special build
2023-01-02 18:53:14 -05:00
Anthony Sottile
8529a0c1d3
add pre_commit.yaml module
2023-01-02 18:42:34 -05:00
Anthony Sottile
05c8911363
simplify environment_dir
2023-01-01 21:11:56 -05:00
Anthony Sottile
d05b7888ab
move clean_path_on_failure out of each hook install
2023-01-01 20:04:58 -05:00
Anthony Sottile
0224be8194
Merge pull request #2667 from pre-commit/env-dir-always-non-null
...
remove None overload for environment_dir
2023-01-01 19:52:48 -05:00
Anthony Sottile
f0baffb01f
remove None overload for environment_dir
2023-01-01 19:20:40 -05:00
Anthony Sottile
8e57e8075d
avoid using hook.src in R language
...
this wasn't meant to be read -- hook.prefix works fine for local too
2023-01-01 19:02:20 -05:00
Anthony Sottile
40e69ce8e3
use modules as protocols
2022-12-27 11:46:11 -05:00
Ruairidh MacLeod
c38e0c7ba8
dotnet: ignore nuget source during tool install
2022-12-21 14:26:13 -05:00
Ruairidh MacLeod
e904628830
fix dotnet hooks with prefixes
2022-12-21 13:35:19 -05:00
Lorenz Walthert
52948f610c
When R executable is an explicit path, we need to appene .exe on Windows
2022-12-12 13:21:55 -05:00
Anthony Sottile
6c524f7a55
fix rust platform detection on windows
2022-12-06 13:10:12 -05:00
marsha
84b38f7b89
Change cmd_output_bs retcode arg to a boolean check
2022-10-30 14:49:42 -05:00
marsha
e703982de4
Change Rust to install environment with cargo add over toml
2022-10-28 21:32:52 -05:00
Anthony Sottile
0fe7a0baa6
Merge pull request #2460 from lorenzwalthert/binary-additional-deps
...
Enforce binary installs also for dependencies in R
2022-10-22 11:28:13 -07:00
Jan Holthuis
eb469c756d
Rust as 1st class language
2022-10-10 20:05:36 -04:00
Lorenz Walthert
a568f3c818
enforce binary installs also for dependencies of R packages
...
Similar problem seems to be found in https://github.com/r-lib/devtools/issues/1724
2022-07-12 22:47:19 +01:00
Anthony Sottile
d8b59300ce
remove imports from TYPE_CHECKING (py37+)
...
Committed via https://github.com/asottile/all-repos
2022-07-04 17:57:38 -04:00
Paul Gey
a54391e96f
Force gem installation into GEM_HOME
...
When `--user-install` is set in the gemrc config file, `gem` ignores
`GEM_HOME`. `--no-user-install` prevents this behaviour.
2022-05-07 20:44:02 +02:00
Anthony Sottile
07554e9525
add additional info to healthy-after-install check
2022-04-16 16:46:28 -04:00
Walluce Pinkham
9b3df4b90e
Handling multiple outputs from dotnet pack
2022-04-07 13:16:56 -04:00
Jeff Sullivan
764a0db68e
use Rscript path relative to $R_HOME/bin/...
...
Co-authored-by: Lorenz Walthert <lorenz.walthert@icloud.com >
2022-04-02 14:22:29 -04:00
Anthony Sottile
2188c0fd2c
include the configured value in the language_version / additional_dependencies error
2022-03-30 11:14:00 -04:00
Jan Holthuis
678ef6b9fd
coursier: Add support for both cs and coursier executable names
...
On some systems, the executable might be named `coursier` instead of
`cs`. For example, this is the case on Arch Linux when using the AUR
package, or when following the official instructions when installing the
JAR-based launcher:
https://get-coursier.io/docs/cli-installation#jar-based-launcher
2022-03-17 22:25:22 +01:00
Lorenz Walthert
65755af7e3
inline options() to always install binaries
2022-03-05 21:04:01 +01:00
Anthony Sottile
04de6a2e57
drop python 3.6 support
...
python 3.6 reached end of life on 2021-12-23
2022-01-18 18:44:20 -05:00
Anthony Sottile
54331dca6f
get lua version from luarocks itself
2022-01-17 15:46:36 -05:00
Matt Layman
3f8be7400d
Add naive and untested version of Lua language support.
2022-01-17 13:43:38 -05:00
Uwe L. Korn
83aa65c429
Add mamba support to language: conda
2022-01-15 16:28:44 -05:00
Lorenz Walthert
1617692f12
no docs
2021-12-24 14:52:46 +01:00
Lorenz Walthert
b7331b653a
unset renv project
2021-12-24 14:36:43 +01:00
Lorenz Walthert
ba496b8369
better r path detection
2021-12-24 14:01:18 +01:00
Ralf Schmitt
379db4cb88
Use 'go install' instead of 'go get'
...
`go install` is the recommended way to install modules starting from go 1.16.
In go 1.18 `go get` cannot be used anymore to install packages [1]. go 1.18 is
not released yet.
[1] https://tip.golang.org/doc/go1.18#go-command
2021-12-15 10:05:59 +01:00
Anthony Sottile
c8cf74dc71
replace exit(main()) with raise SystemExit(main())
...
Committed via https://github.com/asottile/all-repos
2021-10-23 13:23:48 -04:00
Anthony Sottile
f8e21cb78b
add support for dart as a hook language
2021-08-29 08:57:56 -07:00
Anthony Sottile
5d1cac64c1
ignore self-container when in docker-in-docker
2021-08-03 13:08:07 -07:00