-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Precompile fomantic-ui files #13332
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
Precompile fomantic-ui files #13332
Conversation
0de1586
to
760e379
Compare
We rarely change fomantic-ui or its configuration so it's kind of a waste to have it rebuild on every CI run. These changes remove the fomantic files from the build and instead add the relevant output files to the git index, which should shave of 2-3 minutes on every CI run. `make fomantic` should still work and should be ran whenever fomantic is updated or its configuration is changed.
760e379
to
57692fe
Compare
Codecov Report
@@ Coverage Diff @@
## master #13332 +/- ##
==========================================
- Coverage 42.11% 42.11% -0.01%
==========================================
Files 689 689
Lines 75846 75846
==========================================
- Hits 31942 31941 -1
- Misses 38671 38672 +1
Partials 5233 5233
Continue to review full report at Codecov.
|
Oddly, the fomantic build still seem to have ran on the master build https://drone.gitea.io/go-gitea/gitea/31821/1/7 but not on the PR build https://drone.gitea.io/go-gitea/gitea/31812/1/7. |
Followup to go-gitea#13332. Turns out I missed this dependency which resulted in fomantic-ui being uselessly rebuild on CI. This fully removes it from the chain so it's not attempted to be build as part of the main build process.
Followup to #13332. Turns out I missed this dependency which resulted in fomantic-ui being uselessly rebuild on CI. This fully removes it from the chain so it's not attempted to be build as part of the main build process.
We rarely change fomantic-ui or its configuration so it's kind of a waste to have it rebuild on every CI run. These changes remove the fomantic files from the build and instead add the relevant output files to the git index, which should shave of 2-3 minutes on every CI run.
make fomantic
should still work and should be ran whenever fomantic is updated or its configuration is changed.