45 Commits

Author SHA1 Message Date
dee08210a5 ci: Fix cspell verify script to use the run script (#3730)
Fix cspell verify script to use the run script.

As part of investigating why the newest cspell version [causes
issues](https://github.com/flame-engine/flame/pull/3727) with the verify
script, I first notice that we don't run cspell with the correct flags
inside the verify script (notably not applying our own config file).

This fixes that by re-using the run script in the verify script, which
avoid repetition and future drift.

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-09-27 22:25:43 +00:00
639df09857 ci: Fix alphabetization check in cspell verify script (#3729)
Fix alphabetization check in cspell verify script; it was using
non-bash-compliant code that would not actually work on certain systems;
in fact, it was not working on CI, which has caused some drift. This
also fixes the dictionaries.

Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2025-09-27 21:35:27 +00:00
d1698c44a6 ci: Update shebang on cspell scripts to be more env agnostic (#3726)
Update shebang on cspell scripts to be more env agnostic.

This follows standard practices as seen in the [ysap
guide](https://style.ysap.sh/):

> Bash is not always located at /bin/bash, so use this line:
> `#!/usr/bin/env bash`

This is also in line with the other scripts on the repo.
2025-09-27 23:26:09 +02:00
0041604a89 ci: Melos root path not needed for running doc setup script (#3340)
It needs to use the full root path to find the script.
2024-10-13 15:32:42 +00:00
05e908512d ci: Moved doc setup to separate script (#3339)
Since there seems to be some problem with the doc setup on the GitHub
runners, let's try running it as a separate script.
2024-10-13 17:06:18 +02:00
a036f19517 chore: Add a script to validate and fix all dictionary files (#2780)
The script has two purposes:

remove orphan words
alphabetize the files
I set it up to run on GitHub action as a checker, but a --fix option is available as well for running locally.

When running, I noticed that there are A LOT of orphaned words.
At first, I thought that it might be the case that cSpell was missing words on our docs that were clearly used, which would be a HUGE issue. I made this PR to validate that: #2735

But upon proper investigation, and using cSpell's trace command, I realized that we import multiple standard dictionaries: "en_US" and "softwareTerms", and they are constantly being updated. The word "cypher" was just added 12 hours ago, for example.

Turns out ALL of the current orphan words are properly being detected on our files, but now are included on the official dictionaries! Which is amazing.

Note that I did have to stop using the GitHub Action to run cSpell. The reason is twofold; (1) because I need to install cSpell anyway to run my script and didn't want to have the action download it again; and (2) because the version on the GitHub Action (even though it is the same 7.3.7 from npm that I have locally) doesn't have the latest updates (like does not have the cypher word that was added 12h ago). This would make my script and the CI script incompatible.
2023-10-01 17:44:58 +00:00
d6129f508e chore: Remove deprecated publish script (#1923)
Removes the script that we used to publish packages before our true lord and savior Melos had been introduced to us.
2022-09-19 13:13:24 -07:00
b50f527830 Make the publish script work with packages without example (#1055) 2021-10-29 22:13:05 -04:00
28a9239303 Fix the publish script for n>9 (#1008) 2021-10-09 18:44:46 +00:00
eb23eb68fe Publish flame_oxygen-0.1.0-releasecandidate.13 (#937) 2021-09-06 10:56:06 -03:00
208ae78b84 Fix publish script (#849) 2021-06-18 00:03:09 +02:00
6c2c8ace08 Extracting actions to generic github actions (#846)
* Extracting dartdoc

* changing to dartdoc to tag

* extracting format action

* changing format action to tag

* extracting analyze action

* changing format action to tag

* extracting test action

* updating to use tag
2021-06-17 12:10:54 -03:00
0a7a6867bf Relative flame paths for bridge packages (#832)
* Script for handling publishing

* Use relative paths to Flame for bridge packages

* Publish flame_svg-1.0.0-rc5

* Publish flame_svg-1.0.0-rc5

* Real publish in script

* No slash at end of relative path

* Roll back svg changelog

* rc4 for svg

* Update fire atlas to use new position details

* Update usage of script
2021-05-30 01:10:33 +02:00
5503db4e5f Add optional flag to format script to facilitate auto fixing issues (#801) 2021-05-21 10:20:33 -04:00
8f7c773f82 Fix parallax size (#800)
* Non-fullscreen ParallaxComponent

* Updated examples with no size needed

* Formatting

* Add docs for fullscreen parallax

* Fix formatting

* Remove need of nullable size

* Add basic parallax sizing test

* Fix formatting

* Remove unused imports

* Info text for the parallax examples
2021-05-20 16:58:49 +02:00
2dc47fe66a Adding coverage checking (#794)
* Adding coverage checking

* Installing lcov on ci

* printing summary

* Update scripts/test.sh

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* Improving scripts

* Update .github/pull_request_template.md

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>

* Update scripts/test.sh

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* reverting to pwd

* Update scripts/test.sh

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

* Updating changelog and min coverage

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
2021-05-18 11:42:31 -03:00
2259587b04 Moving tutorials to the Flame main repository (#720)
* Moving tutorials to the Flame main repository

* Update README.md

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>

* Upgraded scripts to support multi projects

* Removed comment out code

* Adding WIP disclaimer

Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
2021-03-23 19:38:09 -03:00
769bb711c3 Migrate examples back, change to monorepo (#701) 2021-03-12 09:24:50 -05:00
3078a7a4fd Updating Github templates (#616) 2021-02-22 15:59:40 -05:00
19ff80a0eb Adds checking for trailling commas on the project (#670)
* Testing a new linter option for trailling commas

* Checking trailling commas on linter
2021-02-18 11:31:45 -03:00
b824655e06 🚨 Make scripts/lint.sh work recursively in examples as intended (#602) 2021-01-03 18:30:10 +01:00
ee930806b2 Removing backtick 2020-07-25 11:44:01 -03:00
9e2041a952 Improving lint command 2020-07-25 11:35:01 -03:00
e43e6817fc PR nits 2020-06-23 19:38:24 -03:00
48856815db Fixing output message 2020-06-23 18:42:27 -03:00
7707e89fbc Simplifying linter 2020-06-21 13:55:42 -03:00
3511e8dfd2 Moving to flutter analyze instead of dartanalayzer, which was causing mixed results 2020-06-21 13:33:09 -03:00
839f1e7a56 Origin might be needed for branch 2020-05-26 00:19:59 +02:00
884f5f63ea Not need to explicitly diff between current branch 2020-05-26 00:15:59 +02:00
cbf31857b3 Fix bash parameters 2020-05-26 00:08:26 +02:00
bc417537d6 Fix indentation 2020-05-26 00:02:33 +02:00
3a36709d26 Run through all examples if no error is found 2020-05-25 23:58:33 +02:00
f727edaf1a Run on affected examples too 2020-05-25 22:33:37 +02:00
9c1dd208da Only run linting on changed examples 2020-05-25 21:58:23 +02:00
08cb257260 Run pub get for every example 2020-05-24 01:58:02 -04:00
bb662e4bd6 Add linter to all examples, fix lint issues and add cleanup script 2020-05-24 00:53:50 -04:00
b7ee84c160 Removing lint problem 2020-05-15 12:16:44 -03:00
5e2367fc01 Fix lint script 2020-05-09 13:18:09 -04:00
2c17ef5bbb Fix existing lint issues 2020-05-09 12:51:37 -04:00
48531bff36 Adding linter to build 2020-05-09 12:46:21 -04:00
e34ca947ca move format script to the scripts folder 2019-06-09 11:30:10 -03:00
8ccdcb00d8 Improving scripts 2019-05-25 15:55:59 -03:00
ac505e1e01 better build script 2019-04-16 23:42:21 -03:00
9c69937b5b Fixes build (tests), adding ditance method to position, fix linting (formating, quotes), removed uneeded new keywords everywhere 2019-03-10 15:17:53 -03:00
e15945433d Adding scripts folder with build script 2018-09-19 21:36:33 -03:00