-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite build process #433
Conversation
@duckmatt Would appreciate if you could pull this branch and try to go through the build and docs locally. Let me know if you have any issues and what you think of the docs generated by Fornax. Do you have any idea why some unit tests have started failing with these changes? |
I've checked it out locally and the tests are passing for me interestingly. However I do have to disable the msbuild linting for
Not anything immediately obvious that is wrong with the project file |
Yeah, I was getting similar issues with linting certain projects, however it was inconsistent; it would sometimes fail for that project, and other times fail for another project. The issues does always seem to be with the test projects though. Weird about the tests failing for me... let me verify if there's anything I have set up locally that could be causing it. |
It's good with the docs becoming consistent with some other projects. There's a couple of minor issues, but probably good enough for them to be separate PRs, the things I've spotted:
|
A few updates, after doing a There is still an issue with the build being flaky when done through FAKE with the new build script... I did some a investigation into this but couldn't really find anything out. The build works consistently when the |
Hey, let me know if you need any help with Fornax/Waypoint template.
Yes, I probably have changed margins in Ionide and forgot to port back changes to the template
This will change if you go to the page from another group - basically marked as selected is a group to which current page belongs. It probably should be changed.
This is by design - it was inspired by Elixir's Hexdoc documentation (example: https://hexdocs.pm/phoenix/Phoenix.html) |
Thanks @Krzysztof-Cieslak and thanks for the template! It has been a great starting point for doing this update. Things seem to be mostly working aside from the things @duckmatt pointed out. To me it is a bit confusing that the nav bar highlights the group for the current page, instead of what you have clicked on and have currently active. Tried to make that change but it was not as straightforward as I hoped, so I will leave it as is for now. Aside from that, this update is pretty much done. I will do some more cleanup for the docs, and I still need to figure out why the MSBuild task to run the linter fails inconsistently when run through the FAKE build, although it works consistently through the IDE. |
I discovered that when the new GitHub action runs on my fork, the build also passes consistently, even though it is using the same build script that is failing locally. I tried re-cloning the branch a couple of times to check this and the build also worked consistently, but again would fail again in any additional runs. It seems like a file must be created on the first build that causes subsequent builds to fail, and is not being cleaned up the |
eab9a69
to
549bbb9
Compare
32ac04a
to
2b43ecc
Compare
2b43ecc
to
d85fddd
Compare
Hey @duckmatt, this is pretty much ready to go, can you add the |
Nice, looks good, added a few comments but minor so could be another pull request for those. One small request though, for future PRs could they be a little more broken up? This one may have been a little easier to read if the Fornax change was its own PR Added the NUGET_KEY to the secrets 👍 |
Yes, agreed, I usually try to keep my PRs small and focused; in this case though I kept all these changes together as they are all related to using the Waypoint template (Fornax included). But point taken, the Fornax part of that probably could have been done separately. |
Sorry @duckmatt, I forgot one thing, could you also add the PERSONAL_TOKEN secret; it should be your GitHub personal access token. This is used to automatically build and push the docs to the |
This PR rewrites the build process, mostly based on the Waypoint template.
build.fsx
updated to useWaypoint
template