Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » New UppHub root
Re: New UppHub root [message #56143 is a reply to message #56137] Sun, 31 January 2021 20:56 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14160
Registered: November 2005
Ultimate Member
Novo wrote on Sun, 31 January 2021 13:34
mirek wrote on Sat, 30 January 2021 14:50

The list is directly in readme.md, because why not... Smile

It is not parsable as a JSON file ...
I cannot use it with my build automation system because of this markdown formatting:
# UppHub

```


#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	HttpRequest r("https://raw.githubusercontent.com/ultimatepp/UppHub/main/README.md");
		
	String s = r.Execute();
	
	int begin = s.FindAfter("UPPHUB_BEGIN");
	int end = s.Find("UPPHUB_END");
	
	if(begin >= 0 && end >= 0)
		s = s.Mid(begin, end - begin);

	Value v = ParseJSON(s);
	if(v.IsError()) {
		s.Replace("&quot;", "\"");
		s.Replace("&amp;", "&");
		v = ParseJSON(s);
	}
	
	ASSERT(!v.IsError());
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UppHub and version managment
Next Topic: UppHub unavailable due to GitHub maintenance
Goto Forum:
  


Current Time: Sun Dec 08 20:16:36 CET 2024

Total time taken to generate the page: 0.02379 seconds