Skip to content
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

Build restructure option 2 : optional execution using profiles #120

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

BlazingTwist
Copy link
Contributor

@BlazingTwist BlazingTwist commented Dec 1, 2024

This makes building the fat-jar and web files optional.
This also allowed me to move 'creating the release aya.zip' from verify into package - which seems more standard.

  • use -P !desktop to just compile / run tests
  • use mvn package to create aya.zip
  • use mvn package -P web to create aya.js and aya.stdlib.js
  • use mvn package -P desktop,web to do both

⚠in direct conflict with #119 (pick one)


This also includes some opinionated changes:

  • use lambdas instead of anonymous classes in AyaWeb.java
  • keep the web/** files in the fat jar, since they shouldn't cause any issues.

@nick-paul
Copy link
Collaborator

I like matintaing the flexibility of this option over #119 also. Thanks for cleaning things up!

@nick-paul nick-paul merged commit f2f7c41 into aya-lang:aya-js Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants