pkg:setup (buildpath/"boot").install resource("boot") ENV["CRYSTAL_CONFIG_BUILD_COMMIT"] = Utils.popen_read("git rev-parse --short HEAD").strip end ENV["CRYSTAL_CONFIG_PATH"] = prefix/"src:lib" ENV.append_path "PATH", "boot/bin" make deps (buildpath/".build").mkpath bin/crystal build -D without_openssl -D without_zlib -D preview_overflow -o .build/crystal src/compiler/crystal.cr --release --no-debug resource("shards").stage do buildpath/"bin/crystal" build -o buildpath/".build/shards" src/shards.cr