Compare commits
No commits in common. "d1315b11962b1f4867c640eafb25e14df9e4622b" and "6d1156188cf6eaa2e2d11fc5049c83e547de4d0f" have entirely different histories.
d1315b1196
...
6d1156188c
|
@ -281,7 +281,7 @@ class Job {
|
||||||
if (this.runtime.compiled) {
|
if (this.runtime.compiled) {
|
||||||
eventBus.emit('stage', 'compile');
|
eventBus.emit('stage', 'compile');
|
||||||
const { error, code, signal } = await this.safe_call(
|
const { error, code, signal } = await this.safe_call(
|
||||||
this.runtime.compile,
|
path.join(this.runtime.pkgdir, 'compile'),
|
||||||
code_files.map(x => x.name),
|
code_files.map(x => x.name),
|
||||||
this.timeouts.compile,
|
this.timeouts.compile,
|
||||||
this.memory_limits.compile,
|
this.memory_limits.compile,
|
||||||
|
@ -294,7 +294,7 @@ class Job {
|
||||||
this.logger.debug('Running');
|
this.logger.debug('Running');
|
||||||
eventBus.emit('stage', 'run');
|
eventBus.emit('stage', 'run');
|
||||||
const { error, code, signal } = await this.safe_call(
|
const { error, code, signal } = await this.safe_call(
|
||||||
this.runtime.run,
|
path.join(this.runtime.pkgdir, 'run'),
|
||||||
[code_files[0].name, ...this.args],
|
[code_files[0].name, ...this.args],
|
||||||
this.timeouts.run,
|
this.timeouts.run,
|
||||||
this.memory_limits.run,
|
this.memory_limits.run,
|
||||||
|
|
5
piston
5
piston
|
@ -58,10 +58,6 @@ case "$SUBCOMMAND" in
|
||||||
|
|
||||||
start-dev)
|
start-dev)
|
||||||
build_base
|
build_base
|
||||||
runtime_set=all
|
|
||||||
if [[ ! -z "$1" ]]; then
|
|
||||||
runtime_set=$1
|
|
||||||
fi
|
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
-p 2000:2000 \
|
-p 2000:2000 \
|
||||||
|
@ -69,7 +65,6 @@ case "$SUBCOMMAND" in
|
||||||
--name $CONTAINER_NAME \
|
--name $CONTAINER_NAME \
|
||||||
-e PISTON_LOG_LEVEL=DEBUG \
|
-e PISTON_LOG_LEVEL=DEBUG \
|
||||||
-e PISTON_FLAKE_PATH=/piston/packages \
|
-e PISTON_FLAKE_PATH=/piston/packages \
|
||||||
-e PISTON_RUNTIME_SET=$runtime_set \
|
|
||||||
-v $PWD:/piston/packages \
|
-v $PWD:/piston/packages \
|
||||||
-d "$IMAGE_NAME_DEV:$IMAGE_TAG"
|
-d "$IMAGE_NAME_DEV:$IMAGE_TAG"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue