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

Move dev script to a bash script, allow compiling for Firefox in #5461

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nickgros
Copy link
Contributor

PortalDebug module, move sass compilation to process-resources to ensure it is reliably copied in the compile step

PortalDebug module, move sass compilation to process-resources to ensure
it is reliably copied in the compile step
@@ -370,7 +370,7 @@
src/main/webapp/sass:src/main/webapp/generated
</arguments>
</configuration>
<phase>compile</phase>
<phase>process-resources</phase>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move sass compilation to process-resources to ensure the static resources created by this job are copied, which happens in the compile step

@@ -2,5 +2,5 @@
<module rename-to='Portal'>
<inherits name="org.sagebionetworks.web.Portal" />

<set-property name="user.agent" value="safari" />
<set-property name="user.agent" value="safari,gecko1_8" />
Copy link
Contributor Author

@nickgros nickgros Jul 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allow using firefox with PortalDebug module. If you have precompile off, it won't compile the gecko1_8 permutation unless you actually load the app in devmode with the expected user agent

@nickgros nickgros marked this pull request as draft July 19, 2024 14:34
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.

1 participant