Skip to content

Commit

Permalink
Merge pull request #11 from inhabitedtype/release
Browse files Browse the repository at this point in the history
release automation
  • Loading branch information
seliopou committed Mar 21, 2016
2 parents 48682f4 + a74dfa8 commit 105f109
Show file tree
Hide file tree
Showing 118 changed files with 1,904 additions and 993 deletions.
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,29 @@ configure:

# OASIS_STOP

.PHONY: aws_ec2
aws_ec2:
.PHONY: aws-ec2
aws-ec2:
./aws_gen.native --is-ec2 -i input/ec2/latest/service-2.json -r input/ec2/overrides.json -e input/errors.json -o libraries
cd libraries/ec2 && oasis setup
cd libraries/ec2 && oasis setup && bash ../../src/mk_opam

# NOTE: This does not include aws_ec2, which is special-cased.
# NOTE: This does not include aws-ec2, which is special-cased.
LIBRARIES := \
aws_autoscaling \
aws_cloudformation \
aws_cloudtrail \
aws_elasticache \
aws_elasticloadbalancing \
aws_rds \
aws_sdb \
aws_ssm \
aws_sts \
aws-autoscaling \
aws-cloudformation \
aws-cloudtrail \
aws-elasticache \
aws-elasticloadbalancing \
aws-rds \
aws-sdb \
aws-ssm \
aws-sts \

.PHONY: $(LIBRARIES)
$(LIBRARIES): aws_%:
$(LIBRARIES): aws-%:
./aws_gen.native -i input/$*/latest/service-2.json -r input/$*/overrides.json -e input/errors.json -o libraries
cd libraries/$* && oasis setup && oasis2opam --local -y
cd libraries/$* && oasis setup && bash ../../src/mk_opam

gen: all aws_ec2 $(LIBRARIES)
gen: all aws-ec2 $(LIBRARIES)

test-libraries: gen reinstall
$(MAKE) -C libraries configure CONFIGUREFLAGS=--enable-tests test
Expand Down
5 changes: 5 additions & 0 deletions _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ Executable aws_gen
Install: false
CompiledObject: best
BuildDepends: cmdliner, yojson, ppx_tools, ppx_tools.metaquot, ocamlgraph, unix

SourceRepository master
Type: git
Location: https://github.com/inhabitedtype/ocaml-aws.git
Browser: https://github.com/inhabitedtype/ocaml-aws
12 changes: 6 additions & 6 deletions libraries/autoscaling/_oasis
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OASISFormat: 0.4
Name: aws_autoscaling
Name: aws-autoscaling
Version: 0.1.0
Synopsis: Auto Scaling
Authors: Spiros Eliopoulos <spiros@inhabitedtype.com>, Daniel Patterson <dbp@dbpmail.net>
Expand All @@ -10,18 +10,18 @@ License: BSD-3-Clause
Plugins: META (0.4), DevFiles (0.4)
BuildTools: ocamlbuild

Library aws_autoscaling
Library "aws-autoscaling"
Path: lib
Findlibname: aws_autoscaling
Findlibname: aws-autoscaling
Pack: true
Modules: Types, Errors, AttachInstances, AttachLoadBalancers, CompleteLifecycleAction, CreateAutoScalingGroup, CreateLaunchConfiguration, CreateOrUpdateTags, DeleteAutoScalingGroup, DeleteLaunchConfiguration, DeleteLifecycleHook, DeleteNotificationConfiguration, DeletePolicy, DeleteScheduledAction, DeleteTags, DescribeAccountLimits, DescribeAdjustmentTypes, DescribeAutoScalingGroups, DescribeAutoScalingInstances, DescribeAutoScalingNotificationTypes, DescribeLaunchConfigurations, DescribeLifecycleHookTypes, DescribeLifecycleHooks, DescribeLoadBalancers, DescribeMetricCollectionTypes, DescribeNotificationConfigurations, DescribePolicies, DescribeScalingActivities, DescribeScalingProcessTypes, DescribeScheduledActions, DescribeTags, DescribeTerminationPolicyTypes, DetachInstances, DetachLoadBalancers, DisableMetricsCollection, EnableMetricsCollection, EnterStandby, ExecutePolicy, ExitStandby, PutLifecycleHook, PutNotificationConfiguration, PutScalingPolicy, PutScheduledUpdateGroupAction, RecordLifecycleActionHeartbeat, ResumeProcesses, SetDesiredCapacity, SetInstanceHealth, SuspendProcesses, TerminateInstanceInAutoScalingGroup, UpdateAutoScalingGroup
BuildDepends: aws (>= 0.1.0)

Document aws_autoscaling
Title: aws_autoscaling Docs
Document "aws-autoscaling"
Title: aws-autoscaling Docs
Type: ocamlbuild (0.4)
BuildTools+: ocamldoc
Install: true
XOCamlbuildPath: lib
XOCamlbuildLibraries: aws_autoscaling
XOCamlbuildLibraries: aws-autoscaling

106 changes: 53 additions & 53 deletions libraries/autoscaling/_tags
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# OASIS_START
# DO NOT EDIT (digest: c9344032e81e175582a722f45a51d58b)
# DO NOT EDIT (digest: 8759462f60085ce39d58a74bfeeec85e)
# Ignore VCS directories, you can use the same kind of rule outside
# OASIS_START/STOP if you want to exclude directories that contains
# useless stuff for the build process
Expand All @@ -14,57 +14,57 @@ true: annot, bin_annot
".git": not_hygienic
"_darcs": -traverse
"_darcs": not_hygienic
# Library aws_autoscaling
"lib/aws_autoscaling.cmxs": use_aws_autoscaling
"lib/types.cmx": for-pack(Aws_autoscaling)
"lib/errors.cmx": for-pack(Aws_autoscaling)
"lib/attachInstances.cmx": for-pack(Aws_autoscaling)
"lib/attachLoadBalancers.cmx": for-pack(Aws_autoscaling)
"lib/completeLifecycleAction.cmx": for-pack(Aws_autoscaling)
"lib/createAutoScalingGroup.cmx": for-pack(Aws_autoscaling)
"lib/createLaunchConfiguration.cmx": for-pack(Aws_autoscaling)
"lib/createOrUpdateTags.cmx": for-pack(Aws_autoscaling)
"lib/deleteAutoScalingGroup.cmx": for-pack(Aws_autoscaling)
"lib/deleteLaunchConfiguration.cmx": for-pack(Aws_autoscaling)
"lib/deleteLifecycleHook.cmx": for-pack(Aws_autoscaling)
"lib/deleteNotificationConfiguration.cmx": for-pack(Aws_autoscaling)
"lib/deletePolicy.cmx": for-pack(Aws_autoscaling)
"lib/deleteScheduledAction.cmx": for-pack(Aws_autoscaling)
"lib/deleteTags.cmx": for-pack(Aws_autoscaling)
"lib/describeAccountLimits.cmx": for-pack(Aws_autoscaling)
"lib/describeAdjustmentTypes.cmx": for-pack(Aws_autoscaling)
"lib/describeAutoScalingGroups.cmx": for-pack(Aws_autoscaling)
"lib/describeAutoScalingInstances.cmx": for-pack(Aws_autoscaling)
"lib/describeAutoScalingNotificationTypes.cmx": for-pack(Aws_autoscaling)
"lib/describeLaunchConfigurations.cmx": for-pack(Aws_autoscaling)
"lib/describeLifecycleHookTypes.cmx": for-pack(Aws_autoscaling)
"lib/describeLifecycleHooks.cmx": for-pack(Aws_autoscaling)
"lib/describeLoadBalancers.cmx": for-pack(Aws_autoscaling)
"lib/describeMetricCollectionTypes.cmx": for-pack(Aws_autoscaling)
"lib/describeNotificationConfigurations.cmx": for-pack(Aws_autoscaling)
"lib/describePolicies.cmx": for-pack(Aws_autoscaling)
"lib/describeScalingActivities.cmx": for-pack(Aws_autoscaling)
"lib/describeScalingProcessTypes.cmx": for-pack(Aws_autoscaling)
"lib/describeScheduledActions.cmx": for-pack(Aws_autoscaling)
"lib/describeTags.cmx": for-pack(Aws_autoscaling)
"lib/describeTerminationPolicyTypes.cmx": for-pack(Aws_autoscaling)
"lib/detachInstances.cmx": for-pack(Aws_autoscaling)
"lib/detachLoadBalancers.cmx": for-pack(Aws_autoscaling)
"lib/disableMetricsCollection.cmx": for-pack(Aws_autoscaling)
"lib/enableMetricsCollection.cmx": for-pack(Aws_autoscaling)
"lib/enterStandby.cmx": for-pack(Aws_autoscaling)
"lib/executePolicy.cmx": for-pack(Aws_autoscaling)
"lib/exitStandby.cmx": for-pack(Aws_autoscaling)
"lib/putLifecycleHook.cmx": for-pack(Aws_autoscaling)
"lib/putNotificationConfiguration.cmx": for-pack(Aws_autoscaling)
"lib/putScalingPolicy.cmx": for-pack(Aws_autoscaling)
"lib/putScheduledUpdateGroupAction.cmx": for-pack(Aws_autoscaling)
"lib/recordLifecycleActionHeartbeat.cmx": for-pack(Aws_autoscaling)
"lib/resumeProcesses.cmx": for-pack(Aws_autoscaling)
"lib/setDesiredCapacity.cmx": for-pack(Aws_autoscaling)
"lib/setInstanceHealth.cmx": for-pack(Aws_autoscaling)
"lib/suspendProcesses.cmx": for-pack(Aws_autoscaling)
"lib/terminateInstanceInAutoScalingGroup.cmx": for-pack(Aws_autoscaling)
"lib/updateAutoScalingGroup.cmx": for-pack(Aws_autoscaling)
# Library aws-autoscaling
"lib/aws-autoscaling.cmxs": use_aws-autoscaling
"lib/types.cmx": for-pack(Aws-autoscaling)
"lib/errors.cmx": for-pack(Aws-autoscaling)
"lib/attachInstances.cmx": for-pack(Aws-autoscaling)
"lib/attachLoadBalancers.cmx": for-pack(Aws-autoscaling)
"lib/completeLifecycleAction.cmx": for-pack(Aws-autoscaling)
"lib/createAutoScalingGroup.cmx": for-pack(Aws-autoscaling)
"lib/createLaunchConfiguration.cmx": for-pack(Aws-autoscaling)
"lib/createOrUpdateTags.cmx": for-pack(Aws-autoscaling)
"lib/deleteAutoScalingGroup.cmx": for-pack(Aws-autoscaling)
"lib/deleteLaunchConfiguration.cmx": for-pack(Aws-autoscaling)
"lib/deleteLifecycleHook.cmx": for-pack(Aws-autoscaling)
"lib/deleteNotificationConfiguration.cmx": for-pack(Aws-autoscaling)
"lib/deletePolicy.cmx": for-pack(Aws-autoscaling)
"lib/deleteScheduledAction.cmx": for-pack(Aws-autoscaling)
"lib/deleteTags.cmx": for-pack(Aws-autoscaling)
"lib/describeAccountLimits.cmx": for-pack(Aws-autoscaling)
"lib/describeAdjustmentTypes.cmx": for-pack(Aws-autoscaling)
"lib/describeAutoScalingGroups.cmx": for-pack(Aws-autoscaling)
"lib/describeAutoScalingInstances.cmx": for-pack(Aws-autoscaling)
"lib/describeAutoScalingNotificationTypes.cmx": for-pack(Aws-autoscaling)
"lib/describeLaunchConfigurations.cmx": for-pack(Aws-autoscaling)
"lib/describeLifecycleHookTypes.cmx": for-pack(Aws-autoscaling)
"lib/describeLifecycleHooks.cmx": for-pack(Aws-autoscaling)
"lib/describeLoadBalancers.cmx": for-pack(Aws-autoscaling)
"lib/describeMetricCollectionTypes.cmx": for-pack(Aws-autoscaling)
"lib/describeNotificationConfigurations.cmx": for-pack(Aws-autoscaling)
"lib/describePolicies.cmx": for-pack(Aws-autoscaling)
"lib/describeScalingActivities.cmx": for-pack(Aws-autoscaling)
"lib/describeScalingProcessTypes.cmx": for-pack(Aws-autoscaling)
"lib/describeScheduledActions.cmx": for-pack(Aws-autoscaling)
"lib/describeTags.cmx": for-pack(Aws-autoscaling)
"lib/describeTerminationPolicyTypes.cmx": for-pack(Aws-autoscaling)
"lib/detachInstances.cmx": for-pack(Aws-autoscaling)
"lib/detachLoadBalancers.cmx": for-pack(Aws-autoscaling)
"lib/disableMetricsCollection.cmx": for-pack(Aws-autoscaling)
"lib/enableMetricsCollection.cmx": for-pack(Aws-autoscaling)
"lib/enterStandby.cmx": for-pack(Aws-autoscaling)
"lib/executePolicy.cmx": for-pack(Aws-autoscaling)
"lib/exitStandby.cmx": for-pack(Aws-autoscaling)
"lib/putLifecycleHook.cmx": for-pack(Aws-autoscaling)
"lib/putNotificationConfiguration.cmx": for-pack(Aws-autoscaling)
"lib/putScalingPolicy.cmx": for-pack(Aws-autoscaling)
"lib/putScheduledUpdateGroupAction.cmx": for-pack(Aws-autoscaling)
"lib/recordLifecycleActionHeartbeat.cmx": for-pack(Aws-autoscaling)
"lib/resumeProcesses.cmx": for-pack(Aws-autoscaling)
"lib/setDesiredCapacity.cmx": for-pack(Aws-autoscaling)
"lib/setInstanceHealth.cmx": for-pack(Aws-autoscaling)
"lib/suspendProcesses.cmx": for-pack(Aws-autoscaling)
"lib/terminateInstanceInAutoScalingGroup.cmx": for-pack(Aws-autoscaling)
"lib/updateAutoScalingGroup.cmx": for-pack(Aws-autoscaling)
<lib/*.ml{,i,y}>: pkg_aws
# OASIS_STOP
12 changes: 6 additions & 6 deletions libraries/autoscaling/lib/META
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# OASIS_START
# DO NOT EDIT (digest: 6006c25cb571ad1c1fc52c483b43aa79)
# DO NOT EDIT (digest: ad9a94a6897d6e39b439afa2b1784c39)
version = "0.1.0"
description = "Auto Scaling"
requires = "aws"
archive(byte) = "aws_autoscaling.cma"
archive(byte, plugin) = "aws_autoscaling.cma"
archive(native) = "aws_autoscaling.cmxa"
archive(native, plugin) = "aws_autoscaling.cmxs"
exists_if = "aws_autoscaling.cma"
archive(byte) = "aws-autoscaling.cma"
archive(byte, plugin) = "aws-autoscaling.cma"
archive(native) = "aws-autoscaling.cmxa"
archive(native, plugin) = "aws-autoscaling.cmxs"
exists_if = "aws-autoscaling.cma"
# OASIS_STOP

4 changes: 4 additions & 0 deletions libraries/autoscaling/lib/aws-autoscaling.mldylib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: f99571705610ffa3e3276499391d927e)
Aws-autoscaling
# OASIS_STOP
4 changes: 4 additions & 0 deletions libraries/autoscaling/lib/aws-autoscaling.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: f99571705610ffa3e3276499391d927e)
Aws-autoscaling
# OASIS_STOP
53 changes: 53 additions & 0 deletions libraries/autoscaling/lib/aws-autoscaling.mlpack
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# OASIS_START
# DO NOT EDIT (digest: 81b0a463cb2120591c1c08031efac00a)
Types
Errors
AttachInstances
AttachLoadBalancers
CompleteLifecycleAction
CreateAutoScalingGroup
CreateLaunchConfiguration
CreateOrUpdateTags
DeleteAutoScalingGroup
DeleteLaunchConfiguration
DeleteLifecycleHook
DeleteNotificationConfiguration
DeletePolicy
DeleteScheduledAction
DeleteTags
DescribeAccountLimits
DescribeAdjustmentTypes
DescribeAutoScalingGroups
DescribeAutoScalingInstances
DescribeAutoScalingNotificationTypes
DescribeLaunchConfigurations
DescribeLifecycleHookTypes
DescribeLifecycleHooks
DescribeLoadBalancers
DescribeMetricCollectionTypes
DescribeNotificationConfigurations
DescribePolicies
DescribeScalingActivities
DescribeScalingProcessTypes
DescribeScheduledActions
DescribeTags
DescribeTerminationPolicyTypes
DetachInstances
DetachLoadBalancers
DisableMetricsCollection
EnableMetricsCollection
EnterStandby
ExecutePolicy
ExitStandby
PutLifecycleHook
PutNotificationConfiguration
PutScalingPolicy
PutScheduledUpdateGroupAction
RecordLifecycleActionHeartbeat
ResumeProcesses
SetDesiredCapacity
SetInstanceHealth
SuspendProcesses
TerminateInstanceInAutoScalingGroup
UpdateAutoScalingGroup
# OASIS_STOP
53 changes: 53 additions & 0 deletions libraries/autoscaling/lib/aws-autoscaling.odocl
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# OASIS_START
# DO NOT EDIT (digest: 81b0a463cb2120591c1c08031efac00a)
Types
Errors
AttachInstances
AttachLoadBalancers
CompleteLifecycleAction
CreateAutoScalingGroup
CreateLaunchConfiguration
CreateOrUpdateTags
DeleteAutoScalingGroup
DeleteLaunchConfiguration
DeleteLifecycleHook
DeleteNotificationConfiguration
DeletePolicy
DeleteScheduledAction
DeleteTags
DescribeAccountLimits
DescribeAdjustmentTypes
DescribeAutoScalingGroups
DescribeAutoScalingInstances
DescribeAutoScalingNotificationTypes
DescribeLaunchConfigurations
DescribeLifecycleHookTypes
DescribeLifecycleHooks
DescribeLoadBalancers
DescribeMetricCollectionTypes
DescribeNotificationConfigurations
DescribePolicies
DescribeScalingActivities
DescribeScalingProcessTypes
DescribeScheduledActions
DescribeTags
DescribeTerminationPolicyTypes
DetachInstances
DetachLoadBalancers
DisableMetricsCollection
EnableMetricsCollection
EnterStandby
ExecutePolicy
ExitStandby
PutLifecycleHook
PutNotificationConfiguration
PutScalingPolicy
PutScheduledUpdateGroupAction
RecordLifecycleActionHeartbeat
ResumeProcesses
SetDesiredCapacity
SetInstanceHealth
SuspendProcesses
TerminateInstanceInAutoScalingGroup
UpdateAutoScalingGroup
# OASIS_STOP
4 changes: 2 additions & 2 deletions libraries/autoscaling/myocamlbuild.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(* OASIS_START *)
(* DO NOT EDIT (digest: 37ec25dc7210c87e76ae629cf289da8c) *)
(* DO NOT EDIT (digest: 1f25bee9247d5ac1c965b93b36e09bf9) *)
module OASISGettext = struct
(* # 22 "src/oasis/OASISGettext.ml" *)

Expand Down Expand Up @@ -607,7 +607,7 @@ end
open Ocamlbuild_plugin;;
let package_default =
{
MyOCamlbuildBase.lib_ocaml = [("aws_autoscaling", ["lib"], [])];
MyOCamlbuildBase.lib_ocaml = [("aws-autoscaling", ["lib"], [])];
lib_c = [];
flags = [];
includes = []
Expand Down
2 changes: 1 addition & 1 deletion libraries/autoscaling/opam/findlib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aws_autoscaling
aws-autoscaling
12 changes: 2 additions & 10 deletions libraries/autoscaling/opam/opam
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
opam-version: "1.2"
name: "aws_autoscaling"
version: "0.1.0"
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
authors: [ "Spiros Eliopoulos <spiros@inhabitedtype.com>"
"Daniel Patterson <dbp@dbpmail.net>" ]
authors: [ Spiros Eliopoulos <spiros@inhabitedtype.com>", "Daniel Patterson <dbp@dbpmail.net> ]
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-aws"
bug-reports: "https://github.com/inhabitedtype/ocaml-aws/issues"
Expand All @@ -13,12 +10,7 @@ build: [
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocamlfind" "remove" "aws_autoscaling"]
]
build-test: [
["ocaml" "setup.ml" "-configure" "--enable-tests"]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"]
["ocamlfind" "remove" "aws-autoscaling"]
]
build-doc: [ "ocaml" "setup.ml" "-doc" ]
depends: [
Expand Down
Loading

0 comments on commit 105f109

Please sign in to comment.