Add Windows support / Automatic Release build
Pyroluk opened this issue · comments
Hi,
for Windows there is currently no strait forward way to “build” this extension, due to the build script being bash based. Also, PGXN does not support Windows (see FAQ: What about Windows?).
Since the build script just copies all the pgsql files into one sql file and does not actually compile anything, it would be a shame to exclude windows users from this pristine extension for no good reason.
For Windows users, I uploaded the finished “build” sql file and matching control file here: pgsql_holidays.zip
Copy them into your PostgreSQL install folder under C:\Program Files\PostgreSQL\XXX\share\extension.
Then run:
CREATE EXTENSION IF NOT EXISTS holidays
It would be nice to have something automatic to build und publish the extension under Releases.
That way anyone interested could use the extension without the hassle of running the Linux only build process.
Cheers! 🍻