Commit Graph

253 Commits

Author SHA1 Message Date
Matyáš Kříž 2961debaba Transform IUO return value as well. 2019-01-24 11:04:30 +01:00
Matyáš Kříž 7ad094cf78 Transform IUO into `Optional` to prevent errors. 2019-01-24 11:04:30 +01:00
Matyáš Kříž 9d6ecf889c Add class accessibility to required places. 2018-11-09 13:36:48 +01:00
Matyáš Kříž d29ab5f839 Show class accessibility. 2018-11-09 13:36:48 +01:00
Matyáš Kříž acf338e4a1 Fix two bugs introduced by code cleaning. 2018-11-09 13:36:14 +01:00
Matyáš Kříž 5c3c305216 Coalesce to `false` if there are no attributes. 2018-11-05 17:29:05 +01:00
Matyáš Kříž b22502a82b Bring back `fallthrough`. 2018-11-05 16:29:04 +01:00
Matyáš Kříž c558179b33 Don’t generate comments if not in debug mode. 2018-11-05 16:25:10 +01:00
Matyáš Kříž 231216b588 Code cleaning. 2018-11-05 15:12:00 +01:00
Tadeas Kriz 7fb9d2d6e8 Bump version. 2018-10-09 14:11:23 +02:00
Tadeas Kriz fa8231105a Fix escaping closure (crashing in Xcode 10). 2018-10-09 13:52:37 +02:00
Tadeas Kriz 12f9bac435 Fix warnings. 2018-10-09 13:52:23 +02:00
Marek Slavik 0fc242dcec Make project compilable. 2018-09-27 15:24:52 +02:00
Tadeas Kriz c6baeda34c Add first draft of a new Mock initialization DSL. 2018-07-06 15:39:08 +02:00
Tadeas Kriz ae465a4689 Add enableDefaultImplementation to protocol Mock. 2018-06-05 16:42:41 +02:00
Tadeas Kriz 59f2240831 Reintroduce support for pre-0.11.0 Cuckoo spies. 2018-06-05 16:35:51 +02:00
Matyáš Kříž 0a5c4f7f1d Remake `ContainerToken` filtering to be more effective and easier to add more filters in the future. (@TadeasKriz) 2018-04-27 13:55:28 +02:00
Matyáš Kříž 76472af91e Add regular expression `class` and `protocol` matching. 2018-04-27 13:55:28 +02:00
Matyáš Kříž 3793af312a Add `glob` switch that parses input paths as globs enabling for easier project scaling. 2018-04-27 13:55:28 +02:00
Matyáš Kříž 8cc707ff7c Build generator by default. Download using `--download [VERSION]` option. 2018-04-13 13:45:27 +02:00
Matyáš Kříž 79e19c6fe3 Modify the `run` bash script to allow the user to build rather than download the `cuckoo_generator`.
The option is `--build`, no shorthand.
2018-04-13 09:29:44 +02:00
Matyáš Kříž 682619c35f Use `Switch` instead of `Option`. 2018-04-06 20:01:30 +02:00
Matyáš Kříž bee9b97bf0 Add a debug flag that generates general info above methods when used. 2018-04-06 19:38:00 +02:00
Tadeas Kriz 5165e3fc52 Bump version. 2018-04-05 17:14:01 +02:00
Tadeas Kriz 7968fdae9d Make sure we keep the `cuckoo_generator` in the `Pods/Cuckoo` dir. 2018-04-05 17:10:27 +02:00
Tadeas Kriz 851a5f9755 Bump version. 2018-04-04 11:27:16 +02:00
Tadeas Kriz e920e14acc Fix handling of access_token and username in Fastfile. 2018-04-04 11:24:07 +02:00
Tadeas Kriz c6e23cdfc8 Make sure we bundle Swift runtime with the released generator. 2018-04-04 10:42:09 +02:00
Jake Van Alstyne 68dae06d96 Disable bitcode 2018-04-04 10:32:57 +02:00
Tadeas Kriz df7138b9f2 Add chmod +x to ensure cuckoo_generator can be executed. 2018-03-26 12:40:53 +02:00
M.Inomata ba9b72b061 clear GREP_OPTIONS environment variable to avoid error. 2018-03-26 12:16:34 +02:00
Matyáš Kříž 72c63071db Bump version. 2018-03-23 21:04:07 +01:00
Matyáš Kříž e81835e64d GitHub doesn't know about the tag until the commit is pushed. That's why it's necessary to push before creating the release. It also must not be a draft. 2018-03-23 21:02:42 +01:00
Matyáš Kříž 81b5bd0e1c Add gemfile.lock changes. 2018-03-23 20:52:57 +01:00
Matyáš Kříž 7aaab444a7 Add Cocoapods to Gemfile. Push only after pod lib lint succeeds. 2018-03-23 20:51:56 +01:00
Matyáš Kříž 853faf631d Lower the version before first bump. 2018-03-23 20:45:30 +01:00
Matyáš Kříž 1aab334a10 Fix passing a parameter to function that takes none. 2018-03-23 20:42:50 +01:00
Matyáš Kříž af699f2ace Remove submodules. 2018-03-23 20:38:24 +01:00
Matyáš Kříž a92d246465 Add pod lib lint check and push the podspec after uploading the cuckoo_generator. 2018-03-23 20:28:42 +01:00
Matyáš Kříž c9e272fccb Finish Fastfile. 2018-03-23 20:19:36 +01:00
Matyáš Kříž 9febf9783d Add build in release mode. Add pod pushing. 2018-03-23 20:02:45 +01:00
Matyáš Kříž 92161a4563 Add pod push to the deploying script. 2018-03-23 19:26:13 +01:00
Matyáš Kříž 1d36cdd55d Codacy review changes. 2018-03-23 18:57:14 +01:00
Jason Gavris 645ba65c73 Add test for sub protocol method 2018-03-23 18:35:49 +01:00
Gyuri Grell ace61bb081 The sort of input files occurred to soon
* The files input via options are mapped to Path objects then sorted. This actually happened too soon, since the array is then converted to a Set, then converted back to an Array. The Set conversion changes the order (since it is unordered) and those we lost the effect of the sort. I move the sort to the correct place, which is on the outermost Array so that the inputPathValues array is now correctly sorted.
2018-03-23 18:18:37 +01:00
Matyáš Kříž cd216972e6 Upgrade Fastfile and podspec. `run` downloads the latest generator if it's deleted. 2018-03-23 18:16:52 +01:00
Matyáš Kříž 6fe686a79e Make the script a bit more resilient. 2018-03-23 18:16:52 +01:00
Matyáš Kříž 3d6bbd31b3 Fix changelog creating and make commit message ignoring broader. 2018-03-23 18:16:52 +01:00
Matyáš Kříž 611f9849a9 Update Gemfile. 2018-03-23 18:16:52 +01:00
Matyáš Kříž 3f1d9c6468 Add initial deployer script for deploying release drafts to github. 2018-03-23 18:16:52 +01:00