Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
added Perl Module.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aska committed Oct 12, 2012
1 parent bbc13cc commit f9b36fc
Show file tree
Hide file tree
Showing 6 changed files with 456 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bin
blib
Makefile
MYMETA.json
MYMETA.yml
pm_to_blib
18 changes: 18 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Revision history for dropbox-api

1.05 Aug 28, 2012
- added ProgressBar. ( need -v option )

1.04 Aug 27, 2012
- large file support. ( over 150 MB )

1.03 Aug 14, 2012
- set modification time.
- support windows homepath.

1.02 Jan 10, 2012
- Added Exception handling

1.01 Apr 5, 2012
- Added sub command uid (sylvainfilteau)
- Added upload-to-dropbox command (sylvainfilteau)
6 changes: 6 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bin/dropbox-api
Changes
lib/App/dropboxapi.pm
Makefile.PL
MANIFEST This list of files
t/happy_cpantesters.t
27 changes: 27 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
if (-e 'dropbox-api') {
print STDERR "Generating bin/dropbox-api from dropbox-api\n";
open my $in, "<dropbox-api" or die $!;
open my $out, ">bin/dropbox-api" or die $!;
while (<$in>) {
s|^#!/usr/bin/env perl|#!perl|; # so MakeMaker can fix it
print $out $_
}
}
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'App::dropboxapi',
VERSION_FROM => 'lib/App/dropboxapi.pm',
ABSTRACT => 'Dropbox API Wrapper Command.',
PREREQ_PM => {
'ExtUtils::MakeMaker' => 6.30,
'ExtUtils::Install' => 1.43,
'JSON' => 0,
'Path::Class' => 0,
'WebService::Dropbox' => 0,
'DateTime::Format::Strptime' => 0,
'Encode::Locale' => 0,
($^O eq 'darwin' ? ('Encode::UTF8Mac' => 0) : ()),
},
LICENSE => 'perl',
EXE_FILES => [ 'bin/dropbox-api' ],
);
Loading

0 comments on commit f9b36fc

Please sign in to comment.