nokola
Topic Author
Posts: 188
Joined: 10 Mar 2015, 05:29

Using files that can compile to XAML instead of XAML?

22 Sep 2016, 03:01

Similarly to how https://pugjs.org/api/getting-started.html compiles Pug to HTML, I'd like to use a pug-to-XAML compiler.
Is it possible to hook into Noesis' during build and run some custom code I have that compiles .pug to .xaml? I'd like to have .pug files instead of .xaml. I can do it by having both .xaml and .pug files in the same folder but would rather have just the .pug files.
 
User avatar
jsantos
Site Admin
Posts: 2922
Joined: 20 Jan 2012, 17:18
Contact:

Re: Using files that can compile to XAML instead of XAML?

24 Sep 2016, 02:52

Hi!

Our unity build logic can be found in the file Editor/NoesisGUI/NoesisPostProcessor.cs. Building of XAMLs happens inside the Build() function.

I suppose you must hook over there but I am not sure about what you exactly need.
 
nokola
Topic Author
Posts: 188
Joined: 10 Mar 2015, 05:29

Re: Using files that can compile to XAML instead of XAML?

25 Sep 2016, 21:54

Yes, that's what I needed!
I'll hook the build logic to convert from .pug to .xaml there and build.
Thanks for the prompt response!
 
User avatar
jsantos
Site Admin
Posts: 2922
Joined: 20 Jan 2012, 17:18
Contact:

Re: Using files that can compile to XAML instead of XAML?

26 Sep 2016, 21:24

You're welcome! : )

Who is online

Users browsing this forum: Google [Bot] and 4 guests