xyncro / chiron

JSON for F#
https://xyncro.tech/chiron
MIT License
173 stars 41 forks source link

No way to build on *nix/MacOS #84

Open haf opened 7 years ago

haf commented 7 years ago

There's no build.sh or equivalent in the repository. Running xbuild Chiron.sln results in:

Chiron.fs(6,6): error FS0039: The namespace or module 'Aether' is not defined.

and similar.

neoeinstein commented 7 years ago

Are you targeting .NET Portable? This is likely my error in updating Aether. I will unlist that package in the meantime.

haf commented 7 years ago

No, it's not the package itself, it's the repo. I'm not targeting anything; I'm getting a null reference exception in:

  System.NullReferenceException: Object reference not set to an instance of an object
  at Chiron+Escaping.escape (System.String s) [0x00007] in <57e2953614a049a0a74503833695e257>:0
  at Chiron+Formatting.formatString (System.String _arg7) [0x00001] in <57e2953614a049a0a74503833695e257>:0
  at Chiron+Formatting.formatJson (System.Int32 level, Chiron+Formatting+JsonFormattingOptions options, Chiron+Json _arg1) [0x00082] in <57e2953614a049a0a74503833695e257>:0

but the function is huge so it's not that helpful and I can't build the repo to create a repro, so there's a bit of frustration here ;)

neoeinstein commented 7 years ago

Ah, you mean no way to build on *nix, rather than on Windows?

haf commented 7 years ago

Are there mono debug symbols published for the latest release that I can drop in?

neoeinstein commented 7 years ago

No. I only see the default pdbs in the published package. You should be able to drop in the default ProjectScaffold build.sh, with the modification that build.fsx is actually paket-files\build\xyncro\build\build.fsx. I will see if I can use that to get it building tonight.

haf commented 7 years ago

I tried that, it still doesn't compile. Lots of errors – like Json expected 2 type parameters, but got 0.

neoeinstein commented 7 years ago

Ok. Will look into this tonight.

haf commented 7 years ago

Thanks @neoeinstein