Dannon Baker
682e8ae764
Rename targets and env var to be more clear
2019-11-21 16:57:23 -05:00
Dannon Baker
c3a88e32e5
Add make target for starting webpack dev server
2019-11-21 16:38:58 -05:00
Nicola Soranzo
2c5882d4f5
Fix client formatting
...
List `client-lint` instead of `client-eslint` when running `make` with
no target.
2019-09-30 22:12:00 +01:00
John Chilton
c30b92517d
Switch client formatting check to be part of linting.
2019-09-18 13:27:30 -04:00
Sergey Golitsynskiy
fb98cf3585
Move config_manage out of webapps/ into config/
...
First pass.
2019-08-22 15:46:08 -04:00
Dannon Baker
b8d6338334
Swap to docker-based dependency updating by default, for consistency across platforms.
2019-04-15 12:38:47 -04:00
Dannon Baker
448dd08fba
Add makefile targets for building the dependency docker container and then using it.
2019-04-15 12:28:33 -04:00
Nicola Soranzo
5fcc230eca
Makefile: run bootstrap_history.py inside the VENV
...
Prevent error messages when `requests` or `six` are not available, e.g.:
```
$ make
Traceback (most recent call last):
File "scripts/bootstrap_history.py", line 658, in <module>
main(sys.argv)
File "scripts/bootstrap_history.py", line 419, in main
raise Exception("Requests library not found, please pip install requests")
Exception: Requests library not found, please pip install requests
client-eslint Run client linting
client-format Reformat client code
...
```
2019-03-22 17:29:49 +00:00
Nate Coraor
ef8f208002
Merge remote-tracking branch 'upstream/release_19.01' into dev
2019-02-22 13:24:15 -05:00
Dannon Baker
726ad9a0f6
Bump yarn's network timeout from 2 minutes to 5 minutes.
2019-02-21 11:48:11 -05:00
Nicola Soranzo
e97634739d
Build tool XML schema docs using `sphinx_markdown_tables`
...
instead of converting the Markdown to reStructuredText with pandoc.
Fix the broken tables, but code inside tables is not coloured as
in the rest of the document.
2019-02-06 17:27:48 +00:00
Dannon Baker
9ddcba91be
Drop internal client-test-* makefile targets
2019-01-16 09:09:11 -05:00
Dannon Baker
61774f5126
re-enable full matrix, overhaul qunit/lint implementations.
2019-01-15 20:34:48 -05:00
Dannon Baker
f95cff627b
Attempt to add eslint to travis.
2019-01-15 16:43:29 -05:00
Mason
b637c7575a
Modified test script calls
2018-11-01 20:15:56 -07:00
Nicola Soranzo
00632a5295
Fix `expr: non-integer argument error when running make`
...
when `VERSION_MINOR` in `lib/galaxy/version.py` is e.g. `rc1`.
Also:
- Do not require awk
- Remove unused functions
- Do not require the presence of `~/.github.json` file
2018-10-24 01:03:57 +01:00
John Chilton
1b90d89814
Mocha based client unit testing of rule tests.
2018-04-13 12:21:29 -04:00
Dannon Baker
fefd686b29
Increase yarn's network timeout
2018-04-09 15:10:40 -04:00
Nicola Soranzo
c9881fdc5c
Merge branch 'release_18.01' into dev
2018-04-03 10:54:48 +01:00
Dannon Baker
4d742c3b13
Clarify make targets, update client/README
2018-03-28 10:28:54 -04:00
Dannon Baker
8330bbfe99
Drop old charts building from makefile/package scripts -- this is no longer necessary and charts are individually packed.
2018-03-20 11:50:01 -04:00
Dannon Baker
e13740a3f6
Drop short-lived 'make client-production' warning from build scripts, since we're not including these moving forward.
2018-02-12 13:39:08 -05:00
Nicola Soranzo
6f2a0cceb0
Unify config-rebuild Makefile targets
...
Rebuild reports sample and RST from schema with the new Makefile target.
2018-02-08 10:16:58 -05:00
Nate Coraor
44c291bc66
Merge remote-tracking branch 'origin/dev' into ini_to_yaml_config
2018-01-18 12:30:05 -05:00
Dannon Baker
57090c0e73
Ugh, yern->yarn (was using yern to test the failure of the command, left in this debug switch...)
2018-01-03 17:39:04 -05:00
Dannon Baker
a3b575644c
Add extra help output in Makefile for when Yarn isn't found.
2018-01-03 17:36:24 -05:00
John Chilton
8a9dc5907d
yaml_config - Add entry points (e.g. Makefile) for dealing with Galaxy YAML configs.
2017-12-06 20:28:20 -05:00
Dannon Baker
1c30a850af
Add a better client commit warning to the Makefile.
2017-11-29 13:57:33 -05:00
Dannon Baker
9626350168
Makefile targets, and somehow we had a gruntfile map in the repo from ancient times.
2017-11-29 13:04:25 -05:00
Dannon Baker
0417699825
Merge remote-tracking branch 'upstream/dev' into maps_for_developer_only
2017-11-29 12:54:04 -05:00
John Chilton
d868ffd08b
Improved qunit testing options.
...
- Speed up qunit testing but not re-building production bundles that aren't used anyway.
- Add a watch option for qunit.
- Add option to speed up running all tests by building tests as single bundle instead of many bundles. (May be future default for ``make client-test``.)
This is as close as I think we are going to get to closing #4843 .
2017-11-24 10:01:56 -05:00
John Chilton
f2b6af6ef9
Guess we need to build full client before webpack for qunit?
2017-11-24 07:33:13 -05:00
John Chilton
4b20acbed1
Fix client-test Makefile target.
2017-11-23 13:57:55 -05:00
Dannon Baker
3c0ffb0ce9
Separate dev and production builds.
2017-11-22 13:05:24 -05:00
John Chilton
00147bafc7
Run qunit tests under Karma.
2017-11-16 23:43:57 -05:00
Dannon Baker
1b0e89a445
Minor reorg in makefile to group client targets in order
2017-11-02 11:56:37 -04:00
Dannon Baker
000b3c08c3
Merge remote-tracking branch 'upstream/dev' into es6imports
2017-11-02 11:20:45 -04:00
John Chilton
1b0ccf641c
Use pipenv to generate development dependencies.
...
- Rework pattern for linting dependencies to work for dev-requirements.txt.
- Get rid of dev-requirements.txt and replace it with a symbolic link to the latest pinned versions of dependencies.
Rebased against dev to bring in @nsoranzo's bashism bashings in #4876 and fixed up to strip trailing whitespace from generated requirement files.
2017-11-01 21:21:30 -04:00
Dannon Baker
6f2c899d76
Merge remote-tracking branch 'upstream/dev' into es6imports
2017-11-01 14:21:12 -04:00
John Chilton
842b1af60e
Add Makefile target for formatting client code.
2017-11-01 13:58:57 -04:00
John Chilton
ccb5f61845
Absolute pins on linting dependencies.
...
- Use completely pinned and hashed dependencies for more consistent, reproducible linting.
- Leverage the awesomeness of pipenv to automate updating these.
- These will always be locked now so builds don't break randomly on other people updating their software. When we finally have the bot up and running that forward merges fixes for Galaxy we can add another if statement that runs this check against dev once a day and opens a PR if needed.
2017-10-26 15:53:25 -04:00
Martin Cech
862212ad40
Merge pull request #4788 from jmchilton/check_dependencies
...
Include check for updates to dependencies in tox, Makefile, Travis.
2017-10-26 14:48:55 -04:00
Dannon Baker
078b431cdc
Remove another target from the Makefile, shepherding people into fewer entrypoints for client build.
2017-10-17 10:00:25 -04:00
Dannon Baker
23db8e7109
Remove Makefile cruft; we'll never want to execute webpack directly from here.
2017-10-16 10:46:17 -04:00
Dannon Baker
f6b2e1b92c
Roll charts building into package scripts, simplify makefile.
2017-10-16 10:44:21 -04:00
Dannon Baker
4df90df0d1
Force yarn to check-files. This is fast, anyway, and prevents confusion when switching between branches and having differing (sometimes missing) node_modules like gulp, etc.
2017-10-16 10:02:58 -04:00
Dannon Baker
f0bf022658
Client-watch does depend on node-deps
2017-10-13 12:46:28 -04:00
Dannon Baker
731a9a6d3e
Client-develop -> client-watch, style is built into build and has a package.json target if anyone really needs it.
2017-10-12 15:55:24 -04:00
Dannon Baker
70ef389554
Trim client make targets
2017-10-12 15:52:56 -04:00
Dannon Baker
34749b0440
All libs moving forward are installed by yarn, this endpoint is not to be used.
2017-10-12 14:30:59 -04:00