Created
May 30, 2022 22:09
-
-
Save akavel/86650d6c22718ad0ffed9334d3ad2e5c to your computer and use it in GitHub Desktop.
Experiments with 0compile for Pikchr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<?xml-stylesheet type='text/xsl' href='interface.xsl'?> | |
<interface uri="https://akavel.github.io/0catalog/feeds/pikchr.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile"> | |
<name>Pikchr</name> | |
<summary>PIC-like markup language for diagrams in technical documentation</summary> | |
<homepage>https://pikchr.org</homepage> | |
<!-- based on: https://docs.0install.net/tools/0compile/developers/ --> | |
<!-- usage: | |
A) Compile and install Pikchr: | |
c:> 0install run https://apps.0install.net/0install/0compile.xml autocompile https://akavel.github.io/0catalog/feeds/pikchr.xml | |
B) Tweak stuff: | |
c:> 0install add 0compile https://apps.0install.net/0install/0compile.xml | |
c:> 0compile setup https://akavel.github.io/0catalog/feeds/pikchr.xml pikchr | |
--> | |
<implementation arch="*-src" version="1.0" id="sha1=1d53a96ee896dfae8d84a2e02fceae2dfac54aaa"> | |
<file dest="pikchr.c" size="278267" href="https://pikchr.org/home/raw/ec6f88c37683e48a0564e2dd710310253be88d6d9510dd0064ab6030e7fdb973?at=pikchr.c" /> | |
<command name="compile" path="pikchr.c"> | |
<runner interface='https://akavel.github.io/0catalog/feeds/zig.xml'> | |
<arg>cc</arg> | |
<arg>-DPIKCHR_SHELL</arg> | |
<!--TODO: how to differentiate extension on Windows/Linux?--> | |
<arg>-opikchr.exe</arg> | |
</runner> | |
<!--TODO: how to differentiate build arch on Windows/Linux?--> | |
<compile:implementation arch="Windows-x86_64"> | |
<command name="run" path="pikchr.exe" /> | |
</compile:implementation> | |
</command> | |
</implementation> | |
</interface> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment