Skip to content

Commit

Permalink
Add git import test using simple go project
Browse files Browse the repository at this point in the history
  • Loading branch information
mdales committed May 21, 2024
1 parent 497adfa commit c8c2090
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
28 changes: 28 additions & 0 deletions specs/build-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Testing an git checkout and build

This spec is a test of using a git repository import in shark to pull an data to a shark environment:

```shark-import
https://github.com/quantifyearth/littlejohn.git /data/littlejohn
```

This project happens to be in golang, so we'll need a Go build environment:

```shark-build:golang
((from "golang:latest"))
```

We can then do the build and copy the result to a shark friendly location:

```shark-run:golang
$ cd /data/littlejohn
$ mkdir /data/build/
$ GOPATH=/data/build go install
$ ls -laR /data/build
```

And then publish the results

```shark-publish
/data/build/bin/littlejohn
```
27 changes: 0 additions & 27 deletions specs/ocaml-test.md

This file was deleted.

0 comments on commit c8c2090

Please sign in to comment.