oribuild-darwin-amd64
Advanced tools
Comparing version 0.0.0-pre-alpha.3 to 0.0.0-pre-alpha.4
{ | ||
"name": "oribuild-darwin-amd64", | ||
"version": "0.0.0-pre-alpha.3", | ||
"version": "0.0.0-pre-alpha.4", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "url": "https://github.com/microsoft/ori" |
@@ -125,2 +125,21 @@ # ori | ||
### Running ori from this repo | ||
1. Set up a build.json and patches directory in your target project. | ||
See above for the build.json fields | ||
> TODO: document the patches directory | ||
> TODO: make a an example of an oribuild project + config (#10) | ||
2. Building and Running | ||
```sh | ||
cd oribuild | ||
go run . -c ../path/to/build.json` | ||
``` | ||
The first time you run this, go will fetch and build all the dependencies in oribuild/go.mod | ||
### Catches | ||
@@ -170,2 +189,15 @@ | ||
go tool trace traces/trace.out.* | ||
# cutting a new release, from root dir | ||
# first, update the version numbers in dist/oribuild/package.json, | ||
# and update the dependency versions to the same version number. | ||
git commit -m "bump to 0.0.0-pre-alpha.4" | ||
git tag v0.0.0-pre-alpha.4 | ||
git push | ||
git push --tags | ||
# this reads the version numbers from dist/oribuild/package.json | ||
# and generates new packages. | ||
./scripts/build-everything.sh | ||
# this publishes to npm (you'll have to npm login separately) | ||
./scripts/publish-everything.sh | ||
``` | ||
@@ -172,0 +204,0 @@ |
10541
244