sandboxed-api/contrib/jsonnet/examples/jsonnet_codes/imports.jsonnet

29 lines
918 B
Plaintext
Raw Normal View History

// Copyright 2015 Google LLC
2020-09-18 20:27:31 +08:00
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
2020-09-18 20:27:31 +08:00
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
2020-09-18 17:58:52 +08:00
local martinis = import 'martinis.libsonnet';
2020-09-10 19:06:31 +08:00
2020-09-18 17:58:52 +08:00
{
'Vodka Martini': martinis['Vodka Martini'],
Manhattan: {
ingredients: [
{ kind: 'Rye', qty: 2.5 },
{ kind: 'Sweet Red Vermouth', qty: 1 },
{ kind: 'Angostura', qty: 'dash' },
],
garnish: importstr 'garnish.txt',
served: 'Straight Up',
},
}