Skip to content

Commit f31b119

Browse files
authored
Merge pull request #252 from elastic/feature/installer-build-linux
2 parents 0522f5e + e5e1f6b commit f31b119

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

installer/build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4+
# or more contributor license agreements. Licensed under the Elastic License;
5+
# you may not use this file except in compliance with the Elastic License.
6+
7+
FAKE="packages/build/FAKE.x64/tools/FAKE.exe"
8+
BUILDSCRIPT="build/scripts/Targets.fsx"
9+
FAKE_NO_LEGACY_WARNING=true
10+
11+
mono .paket/paket.bootstrapper.exe
12+
if [[ -f .paket.lock ]]; then mono .paket/paket.exe restore; fi
13+
if [[ ! -f .paket.lock ]]; then mono .paket/paket.exe install; fi
14+
mono $FAKE --removeLegacyFakeWarning $BUILDSCRIPT "cmdline=$*" --fsiargs -d:MONO

installer/build/scripts/Commandline.fsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
// you may not use this file except in compliance with the Elastic License.
44

55
#I "../../packages/build/FAKE.x64/tools"
6-
#I @"../../packages/build/Fsharp.Data/lib/net45"
6+
#I @"../../packages/build/FSharp.Data/lib/net45"
77
#I @"../../packages/build/FSharp.Text.RegexProvider/lib/net40"
88

99
#r "FakeLib.dll"
10-
#r "Fsharp.Data.dll"
11-
#r "Fsharp.Text.RegexProvider.dll"
10+
#r "FSharp.Data.dll"
11+
#r "FSharp.Text.RegexProvider.dll"
1212

1313
#load "Products.fsx"
1414

0 commit comments

Comments
 (0)