Commit Graph

169 Commits

Author SHA1 Message Date
Chris de Graaf
5e843dadbb
Replace Cassette mocking with SimpleMock
FYI: CI should fail until SimpleMock is finished being registered.
2019-09-26 00:32:06 +07:00
Chris de Graaf
6a49bd72f0
Fix some tests on 1.3+ 2019-09-26 00:32:06 +07:00
Chris de Graaf
0cf6d47ada
Add execution priority to plugins 2019-09-26 00:32:06 +07:00
Chris de Graaf
2a5fb5ccc8
Move the default plugins into their own files, fix some bugs 2019-09-26 00:32:06 +07:00
Chris de Graaf
12fcc121fa
Remove .txt suffix from reference test files 2019-09-26 00:32:05 +07:00
Chris de Graaf
3b9714c8a8
Move around the template files, update the licenses
Hopefully the licenses are detected better by Licensee.
Also they can be templated now which is nice.
2019-09-26 00:32:05 +07:00
Chris de Graaf
4e1247c504
Fix a Windows test, maybe 2019-09-26 00:32:05 +07:00
Chris de Graaf
358c213b87
Escape HTML the right way 2019-09-26 00:32:05 +07:00
Chris de Graaf
f6272e110f
Add option to create test/Project.toml (#95) 2019-09-26 00:32:05 +07:00
Chris de Graaf
7a2a43f3f4
Lots of documentation changes 2019-09-26 00:32:05 +07:00
Chris de Graaf
2d7c851fca
Only use custom show methods for plaintext display
Thanks Lyndon: https://github.com/invenia/PkgTemplates.jl/issues/80#issuecomment-527351832
2019-09-26 00:32:05 +07:00
Chris de Graaf
481d8430e6
Add show methods 2019-09-26 00:32:04 +07:00
Chris de Graaf
493c54a948
More tests, more Windows fiddling
Cassette is cool!
2019-09-26 00:32:04 +07:00
Chris de Graaf
f61253b010
Trim the readme, hopefully fix another Windows test bug 2019-09-26 00:32:04 +07:00
Chris de Graaf
b70d3c9cf8
A few more tests 2019-09-26 00:32:04 +07:00
Chris de Graaf
e4f97431b5
Fix a Winows test bug, delete some CI jobs 2019-09-26 00:32:04 +07:00
Chris de Graaf
99bc709ef3
Fixes for GitLabCI and Documenter 2019-09-26 00:32:03 +07:00
Chris de Graaf
1d26885983
Semicolons 2019-09-26 00:32:03 +07:00
Chris de Graaf
439ad33513
More reference tests, fix a bug or two 2019-09-26 00:32:03 +07:00
Chris de Graaf
5adde3ad7c
Add some basic tests 2019-09-26 00:32:03 +07:00
Chris de Graaf
c0fe7bb2c2
The Big Squash: A bunch of irrelevant garbage 2019-09-26 00:31:53 +07:00
Chris de Graaf
f129e741b2 Make Pkg.develop optional (close #78) 2019-06-17 10:44:36 -05:00
Chris de Graaf
53a015d22f
Merge pull request #47 from invenia/cdg/cirrus
Add CirrusCI plugin for FreeBSD support
2019-05-15 11:01:53 -05:00
Chris de Graaf
047bd4d672 Work around test failure on Travis 2019-05-15 10:39:43 -05:00
Chris de Graaf
4d14a89436
Replace authors field in Project.toml 2019-05-15 09:53:39 -05:00
Chris de Graaf
38944a8a17
Merge pull request #73 from matbesancon/citation
Add CITATION.bib
2019-05-15 09:43:48 -05:00
Mathieu Besançon
19a972b4df file layout 2019-05-15 09:50:54 +02:00
Chris de Graaf
a5199164a8
Merge pull request #75 from invenia/cdg/docs
Use correctly typed array as default assets
2019-05-14 18:37:53 -05:00
Chris de Graaf
310f621c3a Use correctly typed array as default assets
This is just a bandaid.
2019-05-14 15:42:04 -05:00
Chris de Graaf
d4f7c8f3b9 Ditch REQUIRE, add [compat] 2019-05-14 15:38:59 -05:00
Mathieu Besançon
fc46d0a33e testing readme 2019-05-14 22:31:01 +02:00
Chris de Graaf
192caf818e CirrusCI tests 2019-05-14 14:57:07 -05:00
Mathieu Besançon
0631dc6be6 tests passing 2019-05-14 21:31:34 +02:00
Chris de Graaf
51e48fc6b1
Merge pull request #54 from tkf/gitlabpages
Add GitLabPages plugin
2019-02-05 09:41:55 -06:00
Takafumi Arakaki
b30871fa7f Test GitLabPages 2019-01-31 19:46:12 -08:00
Takafumi Arakaki
bd4e95ba6a Use "dev" instead of "latest" to link GitHub pages
It seems Documenter.jl changed the setting:
https://juliadocs.github.io/Documenter.jl/v0.21/lib/public/#Documenter.deploydocs
2019-01-25 23:29:56 -08:00
Chris de Graaf
bff5a22c7a Drop AutoHashEquals dep, use concrete types as fields 2018-12-20 13:21:17 -06:00
Chris de Graaf
44d114a050 Fix Documenter tests
Tests now only work on v1.0.3+, lower versions will get an error saying
that there are multiple versions of Documenter available. This doesn't
break usage on older Julia versions, though.
2018-12-19 13:48:07 -06:00
Chris de Graaf
0378e7503a Fix up interactive test 2018-11-12 15:31:41 -06:00
Chris de Graaf
4ba2605239 Fix log test and formatting 2018-11-12 14:58:10 -06:00
Chris de Graaf
b82050cd0f Add more git tests 2018-11-12 14:58:10 -06:00
Chris de Graaf
3ecb8442ff Add a test for generation without Git 2018-11-12 14:58:10 -06:00
Chris de Graaf
166cee2c34 Add the package to the current env, not the global one 2018-11-12 14:01:30 -06:00
Chris de Graaf
250b97ad0a Add new packages to the global environment 2018-11-12 13:59:27 -06:00
Chris de Graaf
2822ae4619
Merge pull request #39 from invenia/cdg/manifest
Don't commit manifest by default
2018-11-12 13:56:58 -06:00
Eric Davies
39e579a494
Merge pull request #34 from invenia/cdg/cc
Deprecate CodeCov for Codecov
2018-11-09 15:19:51 -06:00
Chris de Graaf
2b02947bab Correctly log which files were committed 2018-11-09 15:18:09 -06:00
Chris de Graaf
973147639f Add tests for manifest option 2018-11-07 17:58:15 -06:00
Chris de Graaf
f3b96caa65 Run interactive tests on MacOS 2018-11-07 14:39:07 -06:00
morris25
dced413b49 Fixes formatting 2018-11-05 16:12:30 -06:00
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