Skip to content

Commit

Permalink
tests: Rework overall build test
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Oct 28, 2019
1 parent fb6baeb commit db571f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildMe.sh → scripts/builder.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/env bash

topLevel=$(git rev-parse --show-toplevel)
cd $topLevel
if [[ "$PWD" =~ seams-core ]]; then
rm -rf build
mkdir build
Expand Down
2 changes: 2 additions & 0 deletions testBuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env nix-shell
#!nix-shell --run 'scripts/builder.sh' --pure

0 comments on commit db571f6

Please sign in to comment.