This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 99101d1  make the sass compilation windows-friendly to avoid local EOL 
changes
99101d1 is described below

commit 99101d14d8bb2b226e78640f850456f264b36a0f
Author: greg-dove <[email protected]>
AuthorDate: Fri Oct 9 13:44:29 2020 +1300

    make the sass compilation windows-friendly to avoid local EOL changes
---
 frameworks/projects/Jewel/pom.xml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/frameworks/projects/Jewel/pom.xml 
b/frameworks/projects/Jewel/pom.xml
index 713227c..99f4860 100644
--- a/frameworks/projects/Jewel/pom.xml
+++ b/frameworks/projects/Jewel/pom.xml
@@ -178,6 +178,42 @@
 
   <profiles>
     <profile>
+      <id>platform-windows</id>
+      <activation>
+        <os>
+          <family>windows</family>
+        </os>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>nl.geodienstencentrum.maven</groupId>
+            <artifactId>sass-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>generate-css-using-sass</id>
+                <goals>
+                  <goal>update-stylesheets</goal>
+                </goals>
+                <phase>generate-resources</phase>
+                <configuration>
+                  <sassOptions>
+                    <!-- on windows it is typical to have autoCRLF=true,
+                    so we don't want to overwrite
+                    the CRLF newlines with unix newlines (which is true by 
default)
+                    locally, because that will change git status of the css 
file
+                    on windows
+                    -->
+                    <unix_newlines>false</unix_newlines>
+                  </sassOptions>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>option-with-swf</id>
       <dependencies>
         <dependency>

Reply via email to