Open PhilAndrew opened 4 years ago
If I add this to a script seed (chmod +x) and place in PATH then I run
seed run example:js
It does not work.
To explain what it does do, it downloads seed as an executable script to the current directory and exists.
Now I attempt to run
./seed run example:js
It fails with error
ⓘ Loading project build.toml... ⓘ Build path: build ⓘ Running command 'bloop bsp --socket /var/folders/_f/hdpyzm_n6xj0mc5z58_b0gfh0000gp/T/seed-bsp-1581629844458.socket'... Working directory: /Users/philip/home/projects/seedexample ↪ Connecting to BSP... PID: 33658 ↪ Connecting to BSP... ↪ [BSP] The server is listening for incoming connections at local:///var/folders/_f/hdpyzm_n6xj0mc5z58_b0gfh0000gp/T/seed-bsp-1581629844458.socket... ↪ Connecting to BSP... ↪ [BSP] Accepted incoming BSP client connection at local:///var/folders/_f/hdpyzm_n6xj0mc5z58_b0gfh0000gp/T/seed-bsp-1581629844458.socket ↪ [BSP] request received: build/initialize ↪ [BSP] BSP initialization handshake complete. ⓘ Compiling 1 modules... ⓘ No project associated with Uri(file:///Users/philip/home/projects/seedexample/?id=example-js) [⠿] example (JavaScript) [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] ↪ [BSP] shutdown request received: build/shutdown ↪ BSP server cancelled, closing socket... ↪ Process terminated successfully
Your script
# Use latest released version version=$(curl https://api.github.com/repos/tindzk/seed/tags | jq -r '.[0].name') # Use pre-release version version=$(curl https://api.bintray.com/packages/tindzk/maven/seed | jq -r '.latest_version') blp-coursier bootstrap \ -r bintray:tindzk/maven \ tindzk:seed_2.12:$version \ -f -o seed
No, its my fault.
I needed to run
seed bloop
But I had not done so.
This is indeed confusing and I plan to change the default behaviour such that run (re-)generates the Bloop project.
run
If I add this to a script seed (chmod +x) and place in PATH then I run
seed run example:js
It does not work.
To explain what it does do, it downloads seed as an executable script to the current directory and exists.
Now I attempt to run
./seed run example:js
It fails with error
Your script