Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (28 sloc) 0.469 kb
#!/bin/sh
before() {
mkdir -p build cache
cp -r test-app/* build
}
after() {
rm -rf tmp build
}
compile() {
: === Compiling
sh bin/compile build cache 2>&1
: === Done compiling
}
it_fetches_dart() {
rm -rf cache
mkdir cache
! test -f cache/dart
compile
test -f cache/dart
}
it_skips_dart_fetch_if_exists() {
test -f cache/dart
compile | grep "Skipping build"
}
it_deletes_cache() {
# Here only to delete the cache dir
rm -rf cache
}
Jump to Line
Something went wrong with that request. Please try again.