codecrafters-io / build-your-own-redis

Definition for the redis challenge.
https://app.codecrafters.io/courses/redis/overview
MIT License
108 stars 30 forks source link

gleam run doesn't take source file as an input #170

Closed Juhan280 closed 3 months ago

Juhan280 commented 3 months ago

https://github.com/codecrafters-io/build-your-own-redis/blob/6f863efccc475868b1bc529a70f2552f8e3c48e5/starter_templates/gleam/spawn_redis_server.sh#L8

Here src/redis.gleam doesn't do anything other than just passing it to the argv

This should work just fine

exec gleam run -- "$@"
linear[bot] commented 3 months ago

CC-1132 gleam run doesn't take source file as an input

rohitpaulk commented 3 months ago

Fixed in https://github.com/codecrafters-io/build-your-own-redis/pull/171!