Commit Graph

1253 Commits

Author SHA1 Message Date
Dan Vargas 27e59923f2 piston nix pkg for lua 2022-02-07 15:52:18 -07:00
Dan Vargas 54a4acd5da Merge branch 'nix-packages' of https://github.com/engineer-man/piston into add-nix-packages 2022-02-07 15:43:59 -07:00
Dan Vargas d688ec3fe3 add mono csharp 2022-02-07 11:04:40 -07:00
Dan Vargas d258bed574 add nasm and nasm64 2022-02-07 10:56:17 -07:00
Dan Vargas bc80269ce2 fix swift version 2022-02-06 22:26:23 -07:00
Dan Vargas 7d9009b714 fix rscript version by using pname pkg 2022-02-06 22:08:05 -07:00
Dan Vargas ab536f35ff migrate nim pkg to nix 2022-02-06 21:45:52 -07:00
Dan Vargas f94ba284df ocaml for nix 2022-02-06 21:41:18 -07:00
Dan Vargas e7c5b557f9 octave --> nix 2022-02-06 21:36:32 -07:00
Dan Vargas 66af61c2cb convert perl to nix 2022-02-06 21:17:38 -07:00
Dan Vargas 3530a79a57 migrate php to nix 2022-02-06 21:13:11 -07:00
Dan Vargas dc2c5f3380 migrate ponylang to nix 2022-02-06 21:06:32 -07:00
Dan Vargas a8adca3e18 move prolog to nix 2022-02-06 20:55:36 -07:00
Dan Vargas b94e99ac09 review fixes 2022-02-06 19:57:04 -07:00
Dan Vargas f35d3f910f migrate powershell to nix 2022-02-06 19:39:36 -07:00
Thomas Hobson 286fb57415
Merge pull request #439 from Brikaa/nix-refactor
Include master new features in Nix Piston
2022-02-07 15:35:46 +13:00
Dan Vargas f16eb5fa42 migrate racket to nix 2022-02-06 19:25:23 -07:00
Dan Vargas 54510b713e migrate raku to nix 2022-02-06 19:10:04 -07:00
Dan Vargas a8c23ecd99 migrate rscript to nix 2022-02-06 18:38:30 -07:00
Dan Vargas 2758f95228 migrate sqlite3 to nix 2022-02-06 14:07:13 -07:00
Dan Vargas f113b0c00a remove old ts node package 2022-02-06 13:58:53 -07:00
Dan Vargas 59f164c48c add typescript node 2022-02-06 13:58:02 -07:00
Omar Brikaa 7de631383f Add master features in V3 API, refactor 2022-02-05 15:30:44 +02:00
Omar Brikaa cdd87ca9a1 Refactor config.js 2022-02-05 14:31:29 +02:00
Omar Brikaa 3d61d10373 Merge master 2022-02-05 14:17:46 +02:00
Thomas Hobson d1315b1196
Merge pull request #438 from Brikaa/nix-env-sockets
RUNTIME_SET env choice in start-dev & websockets support in Nix Piston
2022-02-05 13:49:18 +13:00
Omar Brikaa 2bdd4768cd RUNTIME_SET env choice in start-dev, websockets 2022-02-04 19:42:57 +02:00
Dan Vargas 60296ccd26 disable checks for nix-package branch 2022-02-04 10:19:05 -07:00
Dan Vargas 9cbec53580 add perl-rename to container and update related runtime scripts 2022-02-04 09:34:01 -07:00
Dan Vargas 35cd527c69 remove old packages 2022-02-04 09:18:19 -07:00
Dan Vargas f79a168805 add extra check on ruby and swift tests 2022-02-03 20:00:14 -07:00
Dan Vargas a857780f34 fix zig extension rename 2022-02-03 19:55:08 -07:00
Dan Vargas e0c41e3dda add swift 5.4.2 2022-02-03 19:33:40 -07:00
Dan Vargas 1df354c503 add vlang 2022-02-02 11:13:33 -07:00
Dan Vargas c39c671a12 add ruby 3.1.0 2022-02-02 10:43:49 -07:00
Dan Vargas 6da12dd2b4 add zig 0.9.0 2022-02-01 13:18:40 -07:00
Dan Vargas 5ee28d918a add ruby 3.1.0 2022-01-31 19:35:06 -07:00
Thomas Hobson 6d1156188c
Merge pull request #434 from Brikaa/java11
Added Java 11 (nix)
2022-02-01 07:46:49 +13:00
Omar Brikaa 7beb8b40a2 Added Java 11 2022-01-31 17:28:03 +02:00
Thomas Hobson af5036d82c
Convert some packages to nix-based
Affected packages:
- crystal
- dart
- dash
- deno
- elixir
- erlang
- gawk
2022-01-31 18:02:35 +13:00
Thomas Hobson ddab59ccdd
add limit overrides to runtime definitions 2022-01-31 17:47:27 +13:00
Thomas Hobson 8d6ecfaf37
fix scaffold script file naming 2022-01-31 17:46:48 +13:00
Thomas Hobson 388b781aca
Update scaffold tooling to give test command 2022-01-31 17:18:12 +13:00
Thomas Hobson e3cdbc160c
Merge branch 'nix-packages' of github.com:engineer-man/piston into nix-packages 2022-01-31 17:07:36 +13:00
Thomas Hobson 83e4a1a136
Fix issues after merging upstream
Implements a simple container builder for runtime sets
2022-01-31 17:01:28 +13:00
Thomas Hobson e022e34a37
Add nix runtime testing and pre-installing runtimes 2022-01-31 14:43:54 +13:00
Thomas Hobson 564da5a7eb
BREAKING: replace custom build scripts with nix
General:
- Switched to yarn to better work with nix-based tooling
- Switched package system to use nix. This stops double dependencies and slow cloud compile times, while providing more compile/runtime support to the Nix project
- Removed container builder in favor of internal container tooling
- Package versions no-longer need to be SemVer compliant
- Removed "piston package spec" files, replaced with nix-flake based runtimes
- Exported nosocket and piston-api as packages within the nix-flake
- Removed repo container
- Switched docker building to nix-based container outputting
- Removed docker compose as this is a single container
- Removed package commands from CLI

Packages:
- Move bash, clojure, cobol, node, python2, python3 to new format
- Remainder of packages still need to be moved

v2 API:
- Removed "version" specifier. To select specific versions, use the v3 api
- Removed "/package" endpoints as this doesn't work with the new nix-based system

v3 API:
- Duplicate of v2 API, except instead of passing in a language name an ID is used intead.
2022-01-31 14:42:12 +13:00
Omar Brikaa 9760f8fcf9 config.js: index by key, bug fix and more refactoring 2022-01-30 13:35:16 +02:00
Thomas Hobson e06b59d82c
dockerfile to manage mounting of /nix 2022-01-30 22:32:12 +13:00
Thomas Hobson e2f37b7493
install API in container 2022-01-30 22:32:12 +13:00