mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-27 14:07:34 +03:00
build: add ropsten-pills target to Makefile
Adds a script for creating Ropsten pills, then adds it to the Makefile under the 'ropsten-pills' target.
This commit is contained in:
parent
0bdced981e
commit
432a321e0c
5
Makefile
5
Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: build build-all install cross release test pills clean
|
||||
.PHONY: build build-all install cross release test pills ropsten-pills clean
|
||||
|
||||
build:
|
||||
nix-build -A urbit -A herb --no-out-link
|
||||
@ -23,6 +23,9 @@ pills:
|
||||
sh/update-brass-pill
|
||||
sh/update-ivory-pill
|
||||
|
||||
ropsten-pills:
|
||||
sh/create-ropsten-pills
|
||||
|
||||
interface:
|
||||
sh/build-interface
|
||||
|
||||
|
11
sh/create-ropsten-pills
Executable file
11
sh/create-ropsten-pills
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
sha=$(git rev-parse $(git branch --show-current))
|
||||
|
||||
brass=$(nix-build nix/ops -A brass-ropsten --no-out-link)
|
||||
ivory=$(nix-build nix/ops -A ivory-ropsten --no-out-link)
|
||||
|
||||
cp $brass ./brass-ropsten-${sha:0:5}.pill
|
||||
cp $ivory ./ivory-ropsten-${sha:0:5}.pill
|
Loading…
Reference in New Issue
Block a user