Commit Graph

169 Commits

Author SHA1 Message Date
Chris de Graaf
34f30637a2 Deprecate CodeCov for Codecov 2018-11-05 16:06:22 -06:00
morris25
9f47d403f7 Allows additional_kwargs to take symbol keywords 2018-11-05 15:47:58 -06:00
morris25
6cb0b8583b Changes additional_kwargs to expect Dict and warns about ignored kwargs 2018-11-05 10:49:57 -06:00
morris25
eb356e0ec9 Adds tests 2018-11-02 17:23:40 -05:00
Chris de Graaf
68ccca2ad6 Add Test as a test-only dependency (close #25) 2018-10-22 15:44:32 -05:00
Chris de Graaf
9b6c320397 Don't rely on Git to be preconfigured in tests (close #27) 2018-10-22 15:44:31 -05:00
Chris de Graaf
78a4fb0b9b Use Pkg.devdir instead of our own implementation (close #28) 2018-10-22 13:04:26 -05:00
Chris de Graaf
b55dc64ff1 Functions in Dates are exported 2018-10-15 11:55:09 -05:00
Chris de Graaf
9b38d75942 Use autodocs for generated documentation 2018-09-28 16:46:28 -05:00
Chris de Graaf
9c6a160bc2 Simplify internal API 2018-09-28 16:45:38 -05:00
Chris de Graaf
18f5e2d0c0 Update default file templates 2018-09-26 16:56:33 -05:00
Chris de Graaf
e2c615faf8 Remove some not-very-useful features
Removed keywords to Template: years, requirements, and gitconfig.
2018-09-26 16:56:33 -05:00
Chris de Graaf
b0a9844792 Generate packages for 1.0
Use Pkg to generate Project.toml and the src entrypoint, and add the
Test package from the stdlib.
Also remove some options to generate that added complexity: force,
temp_dir, and ssh. Trying to create a package at an already-existent path
is now an error no matter what. The ssh keyword to generate has been
moved to Template.

TODO:
- Update the file templates to current standards.
- Clean up the gen_plugin signature and update those docs.
- Pkg.add requirements provided to the template.
- Update interactive_template's requirements gathering to use a loop.
- **Make smaller commits.**
2018-09-26 16:56:33 -05:00
Chris de Graaf
ec518577a7 Add a bunch of comments to the tests 2018-09-24 15:34:14 -05:00
Chris de Graaf
11e2201cb2 Fix logging statement 2018-09-19 16:46:57 -05:00
Chris de Graaf
4e4c68dfec Replace travis-ci.org with travis-ci.com (close #18) 2018-09-19 15:32:03 -05:00
Chris de Graaf
ab261170ef A few more deprecations still 2018-09-19 14:57:21 -05:00
Chris de Graaf
9fc6092aa5 Fix one broken test from last commit 2018-09-19 14:34:38 -05:00
Chris de Graaf
bbd492a77d sed -i '' -E 's/contains\((.+), (.+)\)/occursin\(\2, \1\)/' 2018-09-19 14:30:23 -05:00
Chris de Graaf
3a2f3fcb71 More deprecations, mostly readstring 2018-09-19 14:25:09 -05:00
Chris de Graaf
e29a6b9d31 Deprecation fixes, mostly in tests (local tests are passing!) 2018-09-19 14:19:16 -05:00
Chris de Graaf
75c7875899 Misc style changes 2017-12-12 15:15:55 +00:00
Chris de Graaf
7e38c92413 Update show style 2017-12-07 17:00:16 +00:00
Chris de Graaf
e01e8e2b55 Add environment variable for faster tests 2017-12-07 17:00:14 +00:00
Chris de Graaf
fb2c2e7429 Add tests for show methods 2017-12-07 13:33:22 +00:00
Chris de Graaf
545a4c5688 Wrap package and generated tests in a test set 2017-11-14 18:20:18 +00:00
Chris de Graaf
3b8abd5cbe Remove default CodeCov config 2017-10-27 17:14:13 +01:00
Chris de Graaf
17c05e9ed2 Improve interactive gitconfig prompt and tests 2017-10-06 16:24:00 +01:00
Chris de Graaf
0292a94f9a Fix Git configuration bug 2017-10-06 15:02:25 +01:00
Chris de Graaf
fa1b66bb36 Skip more problematic tests on OSX 2017-10-06 14:08:35 +01:00
Chris de Graaf
969891c48f Test precompile option 2017-10-06 14:05:46 +01:00
Chris de Graaf
694502a885 Test that all licenses are included in LICENSES 2017-10-01 23:27:28 -05:00
Chris de Graaf
59579392ed Use two-argument form of get in tests 2017-10-01 23:27:28 -05:00
Chris de Graaf
465614d17b Organize interactive tests 2017-10-01 23:27:24 -05:00
Chris de Graaf
be491944b5 Add GitLabCI tests 2017-10-01 22:21:07 -05:00
Chris de Graaf
ec79d72893 Organize tests 2017-10-01 20:43:03 -05:00
Chris de Graaf
bd02dcbf85 Add reversed-argument generate method 2017-09-21 16:02:27 +01:00
Chris de Graaf
7d1ac85f7c Add ISC license (close #3) 2017-09-18 10:17:30 +01:00
Chris de Graaf
fcf435d7ec Add backup_dir kwarg to generate 2017-08-31 15:51:28 +01:00
Chris de Graaf
34658bcb31 Allow failure on nightly, fix tests 2017-08-29 12:24:39 +01:00
Chris de Graaf
7329fbcf90 Don't add Documenter, touch up tests 2017-08-29 00:38:04 +01:00
Chris de Graaf
0992baeb87 Skip authors and years if no license is chosen 2017-08-25 09:18:29 -05:00
Chris de Graaf
bc36fba22a Allow tilde in dir keyword 2017-08-25 00:09:49 -05:00
Chris de Graaf
8d9ce7a02b Add error handling for invalid package directories 2017-08-24 23:50:44 -05:00
Chris de Graaf
3733cd3a55 Separate interactive tests and don't run them on Travis OSX 2017-08-24 14:03:05 -05:00
Chris de Graaf
3ff1fbcd73 Don't redirect STDIN 2017-08-24 10:35:15 -05:00
Chris de Graaf
2af2407881 5 million review changes 2017-08-23 12:50:52 -05:00
Chris de Graaf
86d2d5c0fb Fix AppVeyor config 2017-08-22 19:15:12 -05:00
Chris de Graaf
53b886ad6a Add interactive tests (R.I.P. 100% coverage) 2017-08-22 15:00:48 -05:00
Chris de Graaf
82638e31bc User github.user config key instead of github.username 2017-08-22 14:31:28 -05:00
Chris de Graaf
c76acdc81f Update tests to match new default license 2017-08-22 13:54:03 -05:00
Chris de Graaf
61b44a285d Fix typos, change placeholder name 2017-08-18 16:08:48 -05:00
Chris de Graaf
c245bcd556 Add requirements keyword to Template 2017-08-18 02:08:03 -05:00
Chris de Graaf
3ed08783f1 Tweak CI files 2017-08-18 02:05:48 -05:00
Chris de Graaf
d203ee39cd Update tests for Badge 2017-08-17 23:06:33 -05:00
Chris de Graaf
d009acf24b Rework code, fix/add tests, fix/add docs. All the things. 2017-08-17 17:06:05 -05:00
Chris de Graaf
a265956339 Overhaul plugin system to facilitate adding simple new plugins 2017-08-17 01:57:58 -05:00
Chris de Graaf
a7894dfafb Clean up temp directories 2017-08-16 18:11:57 -05:00
Chris de Graaf
b537222422 Add test to make sure README.md gets copied to docs index 2017-08-16 17:15:06 -05:00
Chris de Graaf
4a349e47b0 Prioritize supplied git config over global one, fix warning test 2017-08-16 17:01:52 -05:00
Chris de Graaf
8434be6bf1 Add test for non-default template path 2017-08-16 01:47:46 -05:00
Chris de Graaf
a14131ae15 Build package in a temp directory, refactor code 2017-08-15 18:46:36 -05:00
Chris de Graaf
9824d1a61a Take username and host as separate keywords, allow ssh remotes 2017-08-15 11:10:05 -05:00
Chris de Graaf
419e8c9f64 Add tests for license functions, version_floor, and substitute 2017-08-14 21:40:04 -05:00
Chris de Graaf
3410fbb406 Add plugin file generation tests 2017-08-14 17:57:49 -05:00
Chris de Graaf
f51259b2fd Add file generation tests 2017-08-14 15:58:14 -05:00
Chris de Graaf
90245a3fba Add plugin creation tests 2017-08-14 14:16:04 -05:00
Chris de Graaf
4ffe092e6f Add basic tests 2017-08-14 13:13:26 -05:00
Chris de Graaf
efd7725034 PkgTemplates generated files 2017-08-10 12:13:01 -05:00