-
Notifications
You must be signed in to change notification settings - Fork 441
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
Update Crystal v1 plugin #3541
Update Crystal v1 plugin #3541
Conversation
@Blacksmoke16 nice. With these changes will be possible to build a package with |
@mamantoha This PR mainly fixes the case where you're building a project (lib) that doesn't have a |
@Blacksmoke16 yeah, I saw. Also previously it runs 2 commands:
And additional options can be passed only to the second command. This didn't allow me to build snap with So, thanks for fixing this :) |
@Blacksmoke16 btw, if you want to add additional packages you can use |
@mamantoha Oh nice, that's good to know. My thinking is that the plugin should include these base packages so that anything you do with the stdlib works. Otherwise you'd prob run into linking issues and need to figure out what lib you need to resolve that. On the other hand I could also see an argument for the built in packages to only require the ones absolutely required. Then require the end user to specify additional ones, e.g. if you |
Very nice |
Codecov Report
@@ Coverage Diff @@
## master #3541 +/- ##
==========================================
- Coverage 91.09% 91.09% -0.01%
==========================================
Files 276 276
Lines 18917 18916 -1
==========================================
- Hits 17233 17232 -1
Misses 1684 1684
Continue to review full report at Codecov.
|
Not sure why CI is failing. I deff signed the CLA. |
@sergiusens I think I figured out the CLA issue. I got an email the other day that |
That sounds like the root of @Blacksmoke16 ... I was very busy this week and I seem to have missed my comment about maybe reauthing your commits to match your email address, your solution is a lot better :-D |
@sergiusens Is it expected that my builds on snapcraft.io/build still are using
Does this mean that that service will always be using EDIT: NVM, just saw via https://snapcraft.io/snapcraft that it's not in the stable channel yet, so probably just need to wait some more. |
./runtests.sh static
?./runtests.sh tests/unit
?crystal-build-options
are passed to theshards build
commandgit
. Without itshards
fails to install dependenciesshards build
command--without-development
--production
flag. See Add--frozen
and--without-development
CLI flags crystal-lang/shards#473Manually tested by loading in the changes as a local plugin and build a Crystal shard via snap
Fixes Blacksmoke16/oq#81