Tristan Sloughter
6144ee67a7
add Windows build badge
pirms 10 gadiem
Fred Hebert
1c6aafeb84
Merge pull request #453 from tsloughter/needs_update
Update deps if their checkout doesn't match lock entry
pirms 10 gadiem
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
pirms 10 gadiem
Tristan Sloughter
dc3afe96c6
update stable_lock test from Fred's branch
pirms 10 gadiem
Fred Hebert
166d5a9d09
Add tests for lock forwarding
Lock forwarding is what happens when the file on disk are on a different
version from what is specified in the lock file. Files on disk should be
updated to respect what's in the lock file.
A negative test has been added so that lock files that are outdated vis.
the underlying git and packages but match files on disk do not get
forwarded. This job is left to the `upgrade' command.
pirms 10 gadiem
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
pirms 10 gadiem
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
pirms 10 gadiem
Fred Hebert
d91c37ed5c
Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hook
Run hooks for single application only once.
pirms 10 gadiem
Viacheslav V. Kovalev
efd2445c74
Properly reset hooks for single-app project
pirms 10 gadiem
Tristan Sloughter
ab1d264557
Merge pull request #457 from talentdeficit/extra_src_dirs_ct
don't add `{extra_src_dirs, ["test"]}` to `test` profile
pirms 10 gadiem
alisdair sullivan
b06a6ecadd
don't add `{extra_src_dirs, ["test"]}` to `test` profile
adding it results in ct test suites being compiled before they're
properly copied so changes made to suites between runs are not
reflected if a run fails before test dirs are copied
pirms 10 gadiem
Tristan Sloughter
3237069567
Merge pull request #455 from kovyl2404/init-command-parsed-args
Properly initialize command parsed args in rebar state
pirms 10 gadiem
Tristan Sloughter
41f31f608d
Merge pull request #451 from talentdeficit/all_src_dirs
methods for retrieving `src_dirs` and `extra_src_dirs`
pirms 10 gadiem
Viacheslav V. Kovalev
549aaf770f
Properly initialize command parsed args in rebar state
pirms 10 gadiem
Fred Hebert
ff071a8df1
Merge pull request #454 from tsloughter/readme_source
update readme building instructions to prefer source
pirms 10 gadiem
Tristan Sloughter
7dce68264b
update readme building instructions to prefer source
pirms 10 gadiem
Tristan Sloughter
8c6af888b2
Merge pull request #442 from tsloughter/tests_replace_paths
purge loaded code when it conflicts with project apps in tests
pirms 10 gadiem
alisdair sullivan
d05103a4a8
methods for retrieving `src_dirs` and `extra_src_dirs`
note that now ALL `src_dirs` across included profiles are
compiled. previously only the last included profile's `src_dirs`
were used
pirms 10 gadiem
Fred Hebert
f9c9e0eacc
Merge pull request #441 from tsloughter/global_plugins
install plugins from the global config to ~/.cache/plugins
pirms 10 gadiem
Fred Hebert
76dafaffcd
Merge pull request #446 from tsloughter/relx_upgrade
update relx version. fixes #434
pirms 10 gadiem
Tristan Sloughter
d3d18e0029
update relx version. fixes #434
pirms 10 gadiem
Tristan Sloughter
a7a0f0d4b0
Merge pull request #445 from sg2342/fix-fetch-format_error
io_lib:format/2 will throw badarg when trying to print rebar_resource…
pirms 10 gadiem
Stefan Grundmann
b9778401c2
io_lib:format/2 will throw badarg when trying to print rebar_resource:resource() as string
pirms 10 gadiem
Tristan Sloughter
758920f4a4
Merge pull request #444 from omarkj/omarkj-change-gitignore
Ignore the build directory
pirms 10 gadiem
omarkj
f51d2d49dc
Ignore the build directory
pirms 10 gadiem
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
pirms 10 gadiem
Tristan Sloughter
cc2c55338b
update gitignore
pirms 10 gadiem
Tristan Sloughter
bf1650e10d
Merge pull request #439 from talentdeficit/extra_src_dirs
generalize the "test" special dir into an {extra_src_dirs, [...]} option
pirms 10 gadiem
alisdair sullivan
2f2c11ae70
document `extra_src_dirs`
pirms 10 gadiem
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
pirms 10 gadiem
Tristan Sloughter
9ad3025c85
Merge pull request #440 from talentdeficit/unescessary_load
remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2`
pirms 10 gadiem
alisdair sullivan
04f63ff53c
remove use of `code:load_abs/1` in favor of `beam_lib:chunks/2` to
avoid repeated loading and unloading of modules
pirms 10 gadiem
alisdair sullivan
c534deafc5
generalize the "test" special dir into an {extra_src_dirs, [...]} option
like `src_dirs`, `extra_src_dirs` are directories to be copied to
the `_build` dir and compiled. unlike `src_dirs` they are not added
to the .app specification
pirms 10 gadiem
Tristan Sloughter
162f0f8f63
Merge pull request #432 from soranoba/edoclet-in-deps
be able to use the specified edoclet in deps
pirms 10 gadiem
soranoba
39513a5293
be able to use the specified edoclet in deps
pirms 10 gadiem
Fred Hebert
45389be7de
Merge pull request #433 from sg2342/fix-prv_unlock-usage-string
fix usage string in rebar_prv_unlock
pirms 10 gadiem
Stefan Grundmann
24615d8def
fix usage string in rebar_prv_unlock
pirms 10 gadiem
Tristan Sloughter
ae19c6d59c
Merge pull request #429 from omarkj/omarkj-quote-atoms
Quote atoms to allow names to have dashes.
pirms 10 gadiem
Tristan Sloughter
763f33009d
Merge pull request #426 from ferd/cleaner-tpl-docs
Make standalone vs complete project template clear
pirms 10 gadiem
Tristan Sloughter
da93ec9d0a
Merge pull request #414 from tsloughter/hex_pkg_improvements
Hex pkg improvements
pirms 10 gadiem
Tristan Sloughter
f37cee14b2
patch tests
pirms 10 gadiem
omarkj
fe19e4f891
Quote atoms to allow names to have dashes.
pirms 10 gadiem
Fred Hebert
84db4a05ce
More package management tests
pirms 10 gadiem
Fred Hebert
ca038d39f7
Proper custom pkg index support, some tests
- The rebar package index files have been moved off the default path and
will require a new `rebar3 update`
- Caching of downloaded packages automatically takes place in a path
relative to the CDN used
- The cache path is not shared with hex as we now write and modify data
in there arbitrarily
- Basic tests plus the working set for more of them is included
pirms 10 gadiem
Fred Hebert
715c4b2360
Update mock so existing tests pass
pirms 10 gadiem
Tristan Sloughter
86fbaaeb08
add bad_download error
pirms 10 gadiem
Tristan Sloughter
1643f4a1fc
wrap fetch errors in rebar_fetch PRV_ERROR
pirms 10 gadiem
Tristan Sloughter
1fe93136c4
throw errors returned by resource:download/3
pirms 10 gadiem
Fred Hebert
56c925b75b
Ad-hoc attempt at restructuring pkg cache
pirms 10 gadiem
Tristan Sloughter
b636822d73
check md5sum of package against that sent by s3
pirms 10 gadiem