JP Simard
937f397527
Fix `Yams.dump` when object contains a keyed null value ( #248 )
2020-04-17 14:47:21 -07:00
JP Simard
9e1f96b6f9
Reduce accessibility of members that should be private ( #247 )
2020-04-16 16:56:22 -07:00
JP Simard
d53badf0fb
Run CI jobs with Swift 5.2 ( #246 )
...
* Run CI jobs with Swift 5.2
* Fix dangling pointer warning with Swift 5.2
* Only check code coverage in Sources/Yams
* Add changelog entry
2020-04-16 15:45:23 -07:00
JP Simard
eb8c411e65
Update gems ( #245 )
2020-04-15 17:38:22 -07:00
Brentley Jones
5fa313eae1
Fix `YAMLDecoder` to support merging anchors ( #238 )
...
Currently `YAMLDecoder` uses `Resolver.basic` instead of `Resolver.default`, since it doesn't need to resolve types. This has the side effect of not including `.merge` as an option, making `decode` fail to see anchored properties.
2020-01-09 10:48:54 -08:00
JP Simard
9bb6c5de91
Added indentation tests for the emitter ( #234 )
...
Added indentation tests for the emitter
2019-11-27 14:51:09 -08:00
Andrés Cecilia Luque
bbaa9ec919
Added indentation tests for the emitter
2019-11-27 19:26:21 +01:00
JP Simard
6cbbe1df61
Merge pull request #211 from compnerd/cmake
...
build: add CMake based build
2019-11-15 12:47:29 -08:00
Saleem Abdulrasool
1d3cc0d50b
update README for CMake support
...
Add some basic instructions for building Yams with CMake. This enables
building for Windows as well as other targets.
2019-11-13 11:29:00 -08:00
Saleem Abdulrasool
2eb01ee987
Update changelog
...
Update the changelog for changes to support Windows.
2019-11-13 11:29:00 -08:00
Saleem Abdulrasool
edb73d167c
build: add CMake based build
...
This adds a CMake (3.15.1) based build to enable building Yams on
platforms where s-p-m does not yet function. It also enables
cross-compilation of Yams. This is sufficient to be able to build for
Windows with the following command line:
```
cmake -H build\debug -G Ninja -DFoundation_DIR=... -DCMAKE_Swift_COMPILER=...
cmake --build build\debug
```
2019-11-13 11:28:28 -08:00
Norio Nomura
0aba2d3673
Merge pull request #231 from jpsim/update-ci
...
Update CI
2019-11-10 15:07:14 +09:00
Norio Nomura
efe4ddb8c8
[GitHub Actions] Use stricter patterns in `paths`
...
This will avoid to trigger workflows by changes such as https://github.com/jpsim/Yams/pull/211
2019-11-10 12:55:03 +09:00
Norio Nomura
ed72eeea22
[GitHub Actions] iPhone 5 simulator does not exist
2019-11-10 11:37:39 +09:00
Norio Nomura
3ded698a5a
[GitHub Actions] Add `--reporter github-actions-logging` to "Swiftlint Analyze" workflow
2019-11-10 11:26:28 +09:00
Norio Nomura
7d6000608d
[Azure Pipelines] Add macOS 10.14 jobs
2019-11-10 11:21:44 +09:00
Norio Nomura
ec7c6ccd8a
[GitHub Actions] GitHub-hosted runner on macOS 10.14 is deprecated
2019-11-10 11:21:09 +09:00
Norio Nomura
344d858c4f
Merge pull request #230 from norio-nomura-test-forked-repository/patch-1
...
[GitHub Actions] Update `norio-nomura/action-swiftlint` to 3.0.1
2019-11-05 08:34:55 +09:00
norio-nomura-test-forked-repository
3ea3e0ed63
[GitHub Actions] Update action-swiftlint to 3.0.1
2019-11-04 19:19:58 +09:00
norio-nomura-test-forked-repository
fed31f8e02
Use `norio-nomura/action-swiftlint@3.0.0`
2019-11-04 16:00:54 +09:00
JP Simard
342f5ca8d5
Revert "CODECOV_TOKEN added"
...
This reverts commit ce924d2e2c
.
2019-11-03 18:24:43 -08:00
Norio Nomura
c9e259e76b
[GitHub Actions] Add missing `GITHUB_TOKEN` to `env` in `jazzy.yml`
2019-11-03 18:24:43 -08:00
Norio Nomura
c6373877f8
[GitHub Actions] Apply reviews to `swiftlint.yml`
...
- Fix format
- Add comment
2019-11-03 18:24:43 -08:00
Norio Nomura
f13d13ad2e
[GitHub Actions] Remove `Tests` from `paths` in `pod_lib_lint.yml`
2019-11-03 18:24:43 -08:00
Norio Nomura
2376c227f9
[GitHub Actions] Use Xcode 11.2 in `pod_lib_lint.yml`
2019-11-03 18:24:43 -08:00
Norio Nomura
70f4813078
[GitHub Actions] Remove `Yams.xcodeproj` from `paths` in `pod_lib_lint.yml`
...
Cocoapods does not require xcodeproj.
2019-11-03 18:24:43 -08:00
Norio Nomura
e02b2e3cb3
[GitHub Actions] Add missing `**/*.md` and `**/*.jpg` to `paths` in `jazzy.yml`
2019-11-03 18:24:43 -08:00
JP Simard
4d8063d641
Ignore Sources/CYaml and Tests when calculating code coverage
2019-11-03 18:24:43 -08:00
JP Simard
9c0a1f01ad
CODECOV_TOKEN added
2019-11-03 18:24:43 -08:00
Norio Nomura
32355ab23c
[GitHub Actions] Add jazzy workflow
...
it also fixes #160
2019-11-03 18:24:43 -08:00
Norio Nomura
8ae4996606
[GitHub Actions] Add Nightly workflow
2019-11-03 18:24:43 -08:00
Norio Nomura
a9ff9a94be
[GitHub Actions] Add pod_lib_lint workflow
2019-11-03 18:24:43 -08:00
Norio Nomura
ef32132b14
[GitHub Actions] Do not run SwiftLint if PR comes from forked repository
2019-11-03 18:24:43 -08:00
Norio Nomura
93349f7085
[GitHub Actions] Add SwiftLint workflow
...
- Uses `norio-nomura/action-swiftlint`
- It won't work with PR from forked repository
2019-11-03 18:24:43 -08:00
Norio Nomura
5e2586acb8
[GitHub Actions] Add SwiftLint Analyze
2019-11-03 18:24:43 -08:00
Norio Nomura
274343da4e
[GitHub Actions] Add SwiftPM workflow
2019-11-03 18:24:43 -08:00
Norio Nomura
84a4fa11c4
[GitHub Actions] Update badges in README.md
...
depends on #219 , #220 , #221 , #222
2019-11-03 18:24:43 -08:00
Norio Nomura
404f6592f9
[GitHub Actions] Skip executing codecov if `secrets.CODECOV_TOKEN` is not set
2019-11-03 18:24:43 -08:00
Norio Nomura
8e1250f5dd
[GitHub Actions] Add xcodebuild workflow
2019-11-03 18:24:43 -08:00
Norio Nomura
2e186c47f0
Remove azure-pipelines.yml
2019-11-03 18:24:43 -08:00
JP Simard
bc7bc1aac7
Update bundle identifier to 'com.jpsim.Yams' ( #217 )
...
Fixes https://github.com/jpsim/Yams/issues/216
2019-10-23 12:20:26 -07:00
JP Simard
8d4fe7d465
Update CI to run with latest versions ( #215 )
2019-10-20 11:09:45 -07:00
JP Simard
c61caea937
Fix renamed SwiftLint analyzer rule ( #213 )
2019-10-20 10:57:12 -07:00
JP Simard
acd65f2035
Remove unused declaration ( #214 )
2019-10-20 10:42:03 -07:00
JP Simard
4a37b2b129
Fix SwiftLint violations ( #212 )
...
* colon placement
* line length
* mark format
* trailing collection literal comma
2019-10-20 10:32:41 -07:00
Ondrej Rafaj
725819d914
Add UUID support ( #205 )
...
* Adding UUID
* Fix docstring
* Fix lint issues & run testUUID on Linux
* Add changelog entry
2019-10-19 22:53:59 -07:00
Saleem Abdulrasool
5e5bdd040a
Yams: explicitly cast value for enums ( #208 )
...
Enums on Windows are different from Linux and macOS. Add explicit casts
for the values to be constructed. This is needed for building YAMS on
Windows.
2019-10-19 14:57:07 -07:00
Saleem Abdulrasool
e4e4d1f67e
git: ignore vim swap files ( #209 )
2019-10-19 14:55:56 -07:00
Norio Nomura
e7c188434f
Merge pull request #210 from compnerd/modulemap
...
CYaml: add explicit modulemap
2019-10-15 09:29:57 +09:00
Saleem Abdulrasool
d40456077a
CYaml: add explicit modulemap
...
Yams uses CYaml which requires a module. s-p-m will implicitly
construct the modulemap for the module, but provide an explicit one for
better control and to enable building without s-p-m.
2019-10-12 15:15:19 -07:00